您的位置:网站首页 > 澳门资料大全免费 > 正文

通达信突破平台回踩指标公式

作者: 来源: 日期:2023/9/10 22:13:37 人气: 标签:

aa:=ma((2*c+h+l)/4,5);
b1:=aa*1.02;
b2:=aa*0.98;
cc:=abs((2*c+h+l)/4-ma(c,20))/ma(c,20);
dd:=dma(c,cc);
b3:=1.07*dd;
b4:=0.93*dd;
bb:(b3-ref(b3,5))/ref(b3,5)*1000;
上行:if(bb>=ref(bb,1),bb,drawnull),linethick2 colorred;
下行:if(bb< ref(bb,1),bb,drawnull),linethick2,colorgreen;
0 coloryellow;
bb2:=(b2-ref(b2,5))/ref(b2,5)*100;
临界值:ref(b2,5)*(ref(bb2/100,1)+1),nodraw;
上穿:=b1>b3,nodraw,colorgreen;
连升:=count(bb>=ref(bb,1),2)>=2,nodraw,colorgreen;
量能:=ma(v,10)>=ma(v,55),nodraw,colorgreen;
阳线:=count(c>o,7)>=4,nodraw,colorgreen;
gz:=上穿 and 连升 and 量能 and 阳线 ;
-100;
关注:if(gz,150,0),stick,linethick2,coloryellow;
三天关注:=count(关注=150,3)>=1,nodraw,colorgreen;
通道二三:b1>b3 and b3>=ref(b3,1),nodraw,colorgreen;
最大涨幅:=hhv(c,20)/llv(c,20)< 1.5,nodraw,colorgreen;
多头排列:ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20) and ma(c,20)>=ref(ma(c,20),1) and ma(c,55)>=ref(ma(c,55),1),nodraw,colorgreen;
jr5:=l<=b2*1.006 ;
昨日股价:ref(ma(c,5),1)>=ref(ma(c,5),2) or ref(c,1)>=ref(ma(c,5),1),nodraw,colorgreen;
jr7:=ref(b1,1)>ref(b3,1);
jr:=三天关注 and 通道二三 and 最大涨幅 and 多头排列 and jr5 and 昨日股价 and jr7 ;
介入:if(jr,100,0),stick,linethick6,colormagenta;
jr6:=count(c>o and c>b3 and c=hhv(c,5) and v=hhv(v,5),4)>=1;
完美介入:if(jr and jr6,100,0),stick,linethick6,colorred;
dd1:=1;
drawtext_fix(dd1=1,0.02,0.02,0,'几种良好形态:'),color55ff55;
drawtext_fix(dd1=1,0.02,0.20,0,'1:5-89日均线发散多头排列'),colorffff55;
drawtext_fix(dd1=1,0.02,0.38,0,'2:三四天前出现收盘价最高且当日量能最大的阳线'),color5555ff;
drawtext_fix(dd1=1,0.02,0.58,0,'3:介入信号头一天收盘价在5日线上'),color55ff55;

通达信突破平台回踩指标公式