EXP1:EXPMA(CLOSE,8);
EXP2:EXPMA(CLOSE,13);
EXCD:(EXP1-EXP2)*22000,COLORWHITE;
{主力仓位}
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),21);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),21);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),21);
主力线:DMP*100/MTR;
散户线:DMM*100/MTR;
主力仓位:(主力线-散户线)*1000,COLORBLUE;
{主力控盘}
VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
ZLQP:(-2)*(VAR2-VAR3)*3.8;
ZLKP:2*(VAR2-VAR3)*3.8;
主力控盘:(ZLKP-ZLQP)*10000,COLORRED ;
DRAWTEXT_FIX(1,0.99,0.01,1,'1、红线上穿白线买入,红线蓝线发生背离效果更佳;2、红蓝白三线位于最低点买入,最高点卖出;3、黄线为多空平衡线。');
14R3Y221b0-53210.jpg
|