副图公式源码支持 手机/电脑
CHP1:=3;
CHP2:=(3)*(SMA(((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100),5,1)) -
(2)*(SMA(SMA(((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100),5,1),3,1));
庄诱空:IF((CHP2 < 8),30,0),COLOR1000FF,NODRAW;
庄抢筹:IF((CHP2 <= 5),60,0),COLORDD00DD,NODRAW;
STICKLINE(庄抢筹,0,60,3.0,0),COLOR880088;
STICKLINE(庄抢筹,0,60,2.4,0),COLOR990099;
STICKLINE(庄抢筹,0,60,1.8,0),COLORAA00AA;
STICKLINE(庄抢筹,0,60,1.2,0),COLORBB00BB;
STICKLINE(庄抢筹,0,60,0.6,0),COLORCC00CC;
STICKLINE(庄抢筹,0,60,0.1,0),COLORDD00DD;
STICKLINE(庄诱空,0,30,3.0,0),COLOR100044;
STICKLINE(庄诱空,0,30,2.4,0),COLOR100066;
STICKLINE(庄诱空,0,30,1.8,0),COLOR100088;
STICKLINE(庄诱空,0,30,1.2,0),COLOR1000AA;
STICKLINE(庄诱空,0,30,0.6,0),COLOR1000CC;
STICKLINE(庄诱空,0,30,0.1,0),COLOR1000FF;
CHP6:=34;CHP7:=1;
CHP8:=REF(LLV(L,CHP6),CHP7);
CHP9:=REFDATE(CHP8,DATE);
即将启动:IF(CROSS(CHP2,CHP1),100,0),COLOR0099FF,NODRAW;
STICKLINE(即将启动,0,80,3.0,0),COLOR0044AA;
STICKLINE(即将启动,0,80,2.4,0),COLOR0055BB;
STICKLINE(即将启动,0,80,1.8,0),COLOR0066CC;
STICKLINE(即将启动,0,80,1.2,0),COLOR0077DD;
STICKLINE(即将启动,0,80,0.6,0),COLOR0088EE;
STICKLINE(即将启动,0,80,0.1,0),COLOR0099FF;
买入:IF(CHP9=L AND ((C-L)>(0-C) OR (O-L)>(C-O)),45,0),LINETHICK2,COLORLIRED;
DRAWTEXT(CHP9=L AND ((C-L)>(0-C) OR (O-L)>(C-O)),41,'←买入'),COLORLIRED;
选股公式源码
{选股公式一:买入}
CHP1:=3;
CHP2:=(3)*(SMA(((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100),5,1)) -
(2)*(SMA(SMA(((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100),5,1),3,1));
{庄诱空:IF((CHP2 < 8),30,0),COLOR1000FF,NODRAW;
庄抢筹:IF((CHP2 <= 5),60,0),COLORDD00DD,NODRAW;
STICKLINE(庄抢筹,0,60,3.0,0),COLOR880088;
STICKLINE(庄抢筹,0,60,2.4,0),COLOR990099;
STICKLINE(庄抢筹,0,60,1.8,0),COLORAA00AA;
STICKLINE(庄抢筹,0,60,1.2,0),COLORBB00BB;
STICKLINE(庄抢筹,0,60,0.6,0),COLORCC00CC;}
CHP6:=34;CHP7:=1;
CHP8:=REF(LLV(L,CHP6),CHP7);
CHP9:=REFDATE(CHP8,DATE);
{DRAWTEXT(CHP9=L AND ((C-L)>(0-C) OR (O-L)>(C-O)),41,'←买入'),COLORLIRED;}
买入:CHP9=L AND ((C-L)>(0-C) OR (O-L)>(C-O)),LINETHICK2,COLORLIRED;
{选股公式二:即将启动}
CHP1:=3;
CHP2:=(3)*(SMA(((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100),5,1)) -
(2)*(SMA(SMA(((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100),5,1),3,1));
{庄诱空:IF((CHP2 < 8),30,0),COLOR1000FF,NODRAW;
庄抢筹:IF((CHP2 <= 5),60,0),COLORDD00DD,NODRAW;}
CHP6:=34;CHP7:=1;
CHP8:=REF(LLV(L,CHP6),CHP7);
CHP9:=REFDATE(CHP8,DATE);
即将启动:IF(CROSS(CHP2,CHP1),100,0),COLOR0099FF;
|