以下是通达信强庄坐镇公式幅图(无源码的请下载附件导入)
VAR11F:=(2*CLOSE+HIGH+LOW)/4;
底:= EMA(VAR11F,99)*0.91,COLORRED;
主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
指数趋势:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
强弱分界:=80;
主力筹码集中度:=WINNER(C)*100;
散筹筹码集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;
QIANG:=(主力持仓-散筹筹码集中度)>20 AND (主力筹码集中度-散筹筹码集中度)>0 AND 主力持仓>50;
强庄坐镇:=IF(QIANG,1,0),COLORYELLOW,LINETHICK0;
DRAWTEXT(强庄坐镇,(底 * 0.99),'●'),COLORYELLOW;
霸王庄:=IF(QIANG AND 主力筹码集中度-散筹筹码集中度>20,1,0)COLORRED,LINETHICK0;
DRAWTEXT(霸王庄,(底 * 0.98),'★'),COLORRED;
836122567.jpg
|