第一部分 副图公式 手机/电脑
N:=11;M1:=10;M2:=9;
顶线:(1+M1/100)*MA(CLOSE,N);
底线:(1-M2/100)*MA(CLOSE,N);
ENE:(顶线+底线)/2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWICON(CROSS(LOW,底线),LOW*0.98,1);
CAIH1:=EMA(CLOSE,13)-EMA(CLOSE,55);
CAIH2:=EMA(0.618*REF(CAIH1,1)+0.382*CAIH1,3);
STICKLINE(CAIH1>=CAIH2,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(CAIH1>=CAIH2,OPEN,CLOSE,(-1),0),COLOR0099DD;
STICKLINE(CAIH1>=CAIH2,OPEN,CLOSE,2,0),COLOR00ABEE;
STICKLINE(CAIH1>=CAIH2,OPEN,CLOSE,1,0),COLOR00DDFF;
STICKLINE(CAIH1>=CAIH2,OPEN,CLOSE,0.1,0),COLORYELLOW;
STICKLINE(CAIH1
STICKLINE(CAIH1
STICKLINE(CAIH1
STICKLINE(CAIH1
STICKLINE(CAIH1
CHA1:=REF(CLOSE,1);
CHA2:=EMA(HHV(HIGH,1),8);
CHA3:=EMA(CLOSE,8);
CHA4:=CHA3
CHA5:=IF(CHA2
CHA6:=SMA(MAX(CLOSE-CHA1,0),2,1)/SMA(ABS(CLOSE-CHA1),2,1)*100;
CHA7:=45;
CHA8:=20;
CHA9:=CHA6CHA7;
CHA10:=CHA6CHA8;
XG:=(COUNT(CHA5=1,4)=3 AND CHA5=0 AND OPEN
(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065)*10>=10 OR
((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065 AND
(REF(CHA10,1) OR REF(CHA9,1))),COLORYELLOW;
DRAWICON(XG,L,38);
STICKLINE(XG,L,L+(H-L)/2,2.7,0),COLORLIRED;
STICKLINE(XG,L+(H-L)/2,H,2.7,0),COLORMAGENTA;
第二部分 选股公式 |