5-10线可看好,20线上可持有,严格控制止损比例。
n:=5;
ma5:ma(close,5),colorfbfbfb;
ma10:ma(close,10),color06ffff;
ma20:ma(close,20),colorff80fb;
ma60:ma(close,60),colorf4e202;
ma120:ma(close,120),colore19800;
byx:ma(close,5),colorfbfbfb;
ref2:ref(byx,1),color0321e2;
//ma5:ma(close,5),colorfafafa;
//ma10:ma(close,10),color00ffff;
ma20:ma(close,20),colorff00ff;
//ma60:ma(close,60),color00ff00;
//ma120:ma(close,120),colorc0c0c0;
//分析家w.w.w_8.8.g.s_com
黄昏之星:=((((((ref(close,2) / ref(open,2)) > 1.03) and (ref(open,1) >
ref(close,2))) and ((abs((ref(open,1) - ref(close,1))) /
ref(close,1)) < 0.02)) and ((close / open) < 0.97)) and (close <ref(close,2)));
射击之星:=(((min(open,close) = low) and ((high - low) > (3 *
(max(open,close) - low)))) and (close > ma(close,5)));
锤头:=(((high = max(open,close)) and ((high - low) > (3 * (high -
min(open,close))))) and (close < ma(close,5)));
吊颈:=(( (high = max(open,close)) and ((high - low) > (3 * (high -
min(open,close))))));
穿头破脚:=((((((ref(close,1) / ref(open,1)) > 1.03) and ((close / open)
< 0.96)) and (close < ref(open,1))) and (open > ref(close,1))) or
(((((ref(close,1) / ref(open,1)) < 0.97) and ((close / open) >
1.04)) and (close > ref(open,1))) and (open < ref(close,1))));
身怀六甲:=(((((abs((ref(close,1) - ref(open,1))) / ref(close,1)) > 0.04)
and ((abs((close - open)) / close) < 0.005)) and (max(close,open) <
max(ref(close,1),ref(open,1)))) and (min(close,open) > min(ref(close,1),ref(open,1))));
乌云盖顶:=(((((ref(close,1) / ref(open,1)) > 1.03) and ((close / open) <
0.97)) and (open > ref(close,1))) and (close < ref(close,1)));
曙光初现:=(((((ref(close,1) / ref(open,1)) < 0.97) and ((close / open) >
1.03)) and (open < ref(close,1))) and (close > ref(close,1)));
倾盆雨:=(((((ref(close,1) / ref(open,1)) >= 1.03) and (open <
ref(close,1))) and (open > ref(open,1))) and (close < ref(open,1)));
drawtext(倾盆雨,h*1.03,'倾'),;
drawtext(黄昏之星,h*1.02,'黄'),;
drawtext(射击之星,h*1.03,'射'),;
drawtext(锤头,l-l*0.02,'锤'),colorgreen;
drawtext(吊颈,h*1.03,'吊'),;
drawtext(穿头破脚,h*1.05,'穿'),;
drawtext(乌云盖顶,h*1.03,'乌'),;
drawtext(曙光初现,l-l*0.02,'曙'),colorgreen;
drawtext(身怀六甲,l-l*0.02,'身'),colorgreen;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),low-0.05,' '),coloryellow;//↖
stickline(买,open,close,2,0),coloryellow;
stickline(low>ref(high,1),ref(high,1),low,8,0),colora0a0a0;
stickline(high<ref(low,1),ref(low,1),high,8,0),colora0a0a0;
//stickline(close=high and c>=1.099033*ref(c,1),o,c,10,0),colorred;
//stickline(close=low and c<=0.900967*ref(c,1),o,c,10,0),colorgreen;
//stickline(close=high and (c>=1.099033*ref(c,1) or (c<1.05085*ref(c,1) and c>=1.0495165*ref (c,1))),o,c,10,0),colorred;
//stickline(close=low and (c<=0.900968*ref(c,1) or (c>0.94915*ref(c,1) and c<=0.9504836*ref (c,1))),o,c,10,0),colorgreen;
p=(c-ref(c,1))/ref(c,1);
stickline(close=high and (p>=0.099003 or (p>=0.0489000 and p<0.0515)),o,c,10,0),colorred;
stickline(close=low and (-p>=0.099003 or (-p>=0.0494815 and -p<0.05085)),o,c,10,0),colorgreen;
//ma$5:=ma(close, 60);
//ma$6:=ma(close, 120);
//fillrgn(ma$5,ma$6,ma$5>ma$6,color232142,ma$5<ma$6,color307f02,ma$5=ma$6,colorwhite);
//byx:=ma(close,5);
//ref2:ref(byx,1),color0321e2;
//fillrgn(byx,ref(byx,1),byx>ref(byx,1),rgb(150,0,0),byx<ref(byx,1),rgb(0,150,0));
//drawkline(h,o,l,c);
//va1:=troughbars(2,5,1);
//vr1:=peakbars(1,5,1);
//va2:=if(va1=0,1,0);
//vr2:=if(vr1=0,1,0);
//drawline(ref(va2,1),l,va2,l,1);
//drawline(ref(vr2,1),h,vr2,h,1);
上一指标公式:暴涨指标公式详解 同花顺暴涨
下一指标公式:冲破天网疏而不漏指标公式详解 同花顺天网冲破
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自制买卖线指标公式详解 同花顺自制仅供学习研究。