以下是超牛短线公式
C/C++ Code复制内容到剪贴板VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散户: EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3; 庄家: EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3; {DRAWBAND(散户,RGB(250,228,100),庄家,RGB(120,120,120));} 中:DRAWLINE(1>0,50,1>0,50,1),COLORLIRED,POINTDOT; 底:DRAWLINE(1>0,30,1>0,30,1),COLORYELLOW,POINTDOT; 顶:DRAWLINE(1>0,70,1>0,70,1),COLORCYAN,POINTDOT; K1:=BACKSET(散户>REF(散户,1),2); 强散:IF(K1,散户,DRAWNULL),COLORRED; K2:=BACKSET(散户<REF(散户,1),2); 弱散:IF(K2,散户,DRAWNULL),COLOR33FF33; K3:=BACKSET(庄家>REF(庄家,1),2); 强庄:IF(K3,庄家,DRAWNULL),COLORMAGENTA; K4:=BACKSET(庄家<REF(庄家,1),2); 弱庄:IF(K4,庄家,DRAWNULL),COLORBLUE; DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,25,’买’),COLORYELLOW; DRAWTEXT(CROSS(散户,庄家) AND 散户<30,10,’ 低吸’),COLOR3399CC;
评论(0)