本帖最后由 九转妖 于 2023-12-20 11:20 编辑
副图公式源码支持 手机/电脑
N1:=5;N2:=10;N3:=60;N4:=105;
GUP1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
GUP2:=DMA(CLOSE,GUP1);
上线1+7/100)*GUP2,DOTLINE,COLOR00FF00;
下线1-7/100)*GUP2,DOTLINE,COLOR8000FF;
中线上线+下线)/2,DOTLINE,COLOR00FFFF;
STICKLINE(C/REF(C,1)<0.945,O,C,1,0),COLORBLUE;
STICKLINE(C/REF(C,1)>1.098,O,C,1,0),COLORFF00FF;
MA3:MA(CLOSE,N3),LINETHICK3;
MA2:MA(CLOSE,N2);
下线141-14/100)*GUP2,DOTLINE,COLORFFFF80;
下线211-19/100)*GUP2,DOTLINE;
DRAWNUMBER(ISLASTBAR,上线,上线),COLOR00FF00;
DRAWNUMBER(ISLASTBAR,中线,中线),COLOR00FFFF;
DRAWNUMBER(ISLASTBAR,下线,下线),COLOR8000FF;
DRAWICON(REF(C,3)>上线 AND REF(C,2)>上线 AND 上线>C AND C>中线 AND 中线>MA3,下线*0.99,1);
选股公式源码
{选股公式:红箭头图标}
N1:=5;N2:=10;N3:=60;N4:=105;
GUP1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
GUP2:=DMA(CLOSE,GUP1);
上线:=(1+7/100)*GUP2,COLOR00FF00;
下线:=(1-7/100)*GUP2,COLOR8000FF;
中线:=(上线+下线)/2,COLOR00FFFF;
MA3:=MA(CLOSE,N3),LINETHICK3;
红箭头图标:REF(C,3)>上线 AND REF(C,2)>上线 AND 上线>C AND C>中线 AND 中线>MA3;
|