第一部分 副图公式 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CAIH1:=(3*G1+G4+G2+G3)/6;
CAIH2:=EMA(CAIH1,35);
CAIH3:=(HHV(CAIH2,10)+HHV(CAIH2,30)+HHV(CAIH2,90))/3;
CAIH4:=(LLV(CAIH2,10)+LLV(CAIH2,30)+LLV(CAIH2,90))/3;
CAIH5:=(HHV(CAIH3,5)+HHV(CAIH3,15)+HHV(CAIH3,30))/3;
CAIH6:=(LLV(CAIH4,5)+LLV(CAIH4,15)+LLV(CAIH4,30))/3;
STICKLINE(EMA(EMA(CAIH1,2),2)>CAIH6,(-2),2,12,0),COLORRED;
STICKLINE(EMA(EMA(CAIH1,2),2)2,2,CHA1,2,1),COLORMAGENTA;
STICKLINE(CHA1>2 AND EMA(EMA(CAIH1,2),2)>CAIH6,2,CHA1,2,0),COLORMAGENTA;
趋势转向:IF(CHA1>=0 AND REF(CHA1,1)<0 AND REF(CHA1,2)REF(CHA2,1) OR (CHA1>REF(CHA1,1) AND REF(CHA1,1)0) OR (CHA1>REF(CHA1,1) AND REF(CHA1,1)>REF(CHA1,2) AND REF(CHA1,2)REF(CHA2,1) AND REF(CHA2,1)REF(CHA1,1) AND CHA2>REF(CHA2,1) AND REF(CHA2,1)0 AND CHA2>0),666,0),NODRAW,COLORYELLOW;
CAIH9:=IF(CHA1>REF(CHA1,1) AND REF(CHA1,1)=CHA2 AND REF(CHA1,1)
DRAWTEXT(CAIH9=1,CHA1*1.5,'跟庄'),COLORRED;
第二部分 选股公式 |