副图公式 源码支持手机/电脑
0;60;
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
GUA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUA2:=SMA(GUA1,3,1);
GUA3:=SMA(GUA2,3,1);
GUA4:=(GUA3/2+40)*1.1;
GUA5:=SMA(GUA4,3,1);
逃顶1:IF(CROSS(GUA5,RSI5),50,0),STICK,COLORBLUE;
STICKLINE(逃顶1,0,50,2,0),COLORBLUE;
逃顶2:IF(CROSS(80,RSI5),-50,0),STICK,COLORGREEN;
STICKLINE(逃顶2,0,-50,2,0),COLORGREEN;
GUP1:=REF(LOW,1);
GUP2:=SMA(ABS(LOW-GUP1),3,1)/SMA(MAX(LOW-GUP1,0),3,1)*100;
GUP3:=EMA(IF(CLOSE*1.2,GUP2*5,GUP2/10),3);
GUP4:=LLV(LOW,38);
GUP5:=HHV(GUP3,38);
GUP6:=IF(LLV(LOW,90),1,0);
GUP7:=EMA(IF(LOW<=GUP4,(GUP3+GUP5*2)/2,0),3)/618*GUP6;
GUP8:=((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)))*100;
GUP9:=SMA(GUP8,13,8);
GUB1:=CEILING(SMA(GUP9,13,8)),COLORRED,LINETHICK2;
GUB2:=GUB1,COLORYELLOW,LINETHICK2;
GUB3:=LLV(GUB2,30);
底部支撑:REF(GUB3,1),COLORYELLOW,LINETHICK2;
趋势:GUB2,COLORMAGENTA,LINETHICK2;
DRAWICON(CROSS(趋势,底部支撑),底部支撑,1);
选股公式源码
{选股公式:红箭头图标}
GUP1:=REF(LOW,1);
GUP2:=SMA(ABS(LOW-GUP1),3,1)/SMA(MAX(LOW-GUP1,0),3,1)*100;
GUP3:=EMA(IF(CLOSE*1.2,GUP2*5,GUP2/10),3);
GUP4:=LLV(LOW,38);
GUP5:=HHV(GUP3,38);
GUP6:=IF(LLV(LOW,90),1,0);
GUP7:=EMA(IF(LOW<=GUP4,(GUP3+GUP5*2)/2,0),3)/618*GUP6;
GUP8:=((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)))*100;
GUP9:=SMA(GUP8,13,8);
GUB1:=CEILING(SMA(GUP9,13,8)),COLORRED,LINETHICK2;
GUB2:=GUB1,COLORYELLOW,LINETHICK2;
GUB3:=LLV(GUB2,30);
底部支撑:=REF(GUB3,1),COLORYELLOW,LINETHICK2;
趋势:=GUB2,COLORMAGENTA,LINETHICK2;
红箭头图标:CROSS(趋势,底部支撑);
{卖出公式一:逃顶1}
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
GUA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUA2:=SMA(GUA1,3,1);
GUA3:=SMA(GUA2,3,1);
GUA4:=(GUA3/2+40)*1.1;
GUA5:=SMA(GUA4,3,1);
逃顶1:CROSS(GUA5,RSI5),COLORBLUE;
{卖出公式二:逃顶2}
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
逃顶2:CROSS(80,RSI5),COLORGREEN; |