以下是上极限下极限主图指标公式

强弱分界: MA(CLOSE,27),linethick2,Culor0000FF;
上极限: 强弱分界+3*STD(CLOSE,21),CulorFF0080;
下极限:强弱分界-2.9*STD(close,21),Culor4080FF;
风标:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,8)+EMA(CLOSE,13))/4,2),Culor00FF00;
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
Var4:=EMA((Var1-Var2)/(Var3-Var2)*100,13);
Var5:=REF(CLOSE,1);
Var6:=SMA(MAX(CLOSE-Var5,0),7,1)/SMA(ABS(CLOSE-Var5),7,1)*100;
Var7:=EMA((CLOSE-llV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,7);
Var8:=EMA((CLOSE-Var2)/(Var3-Var2)*100,5);
Var9:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20);
Var10:=FILTER(CROSS(Var8,Var9) AND Var9<30 ,5)AND Var7>REF(Var7,1)AND C<强弱分界 AND C>O AND Var4>REF(Var4,1);
DRAWICON(REF(L,1)<下极限 AND L>下极限 AND C>O OR Var10,下极限 ,10);
DRAWTEXT(Var10,下极限,’下买’);
DRAWICON(FILTER(REF(H,1)<风标 AND CROSS(C,风标) AND 风标>REF(风标,1) AND 风标<强弱分界,3)AND C>O,L,1);
DRAWICON(REF(H,1)>上极限 AND H<上极限 AND L<风标 AND C<O,上极限 ,11);
DRAWICON( CROSS(80,Var6)AND L<风标,H*1.03,5);
DRAWTEXT(cross(H,上极限)and l>风标 and c/ref(c,10)>1.2 AND Var8>80,H+0.12,’上卖’),Culor00FFFF;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。