同花顺线上黑马公式
使用说明:
1.绿色为股民套牢筹码;
2.黄色为游资浮动筹码;
3.红色为机构庄家筹码。
源码
//////定义的基本参数和条件深红色,COLOR0000AA
DRAWTEXT_FIX(1,0.0,0.0,0,'~~~~~《林永·线上黑马·》指标使用说明:'),colorred,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.06,0,'ˉˉˉˉˉ1.绿色为股民套牢筹码;2.黄色为游资浮动筹码。'),,colorblue,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.12,0,'ˉˉˉˉˉ3.红色为机构庄家筹码。'),colormagenta,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.18,0,'ˉˉˉˉˉ林永奉送绝招密旨:切记:3穿5均线且均线多头排列,方可操作!'),colormagenta,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.24,0,'ˉˉˉˉˉˉ均线多头排列是所有股票上涨的机密宗旨!'),colormagenta,LINETHICK0;
获利盘:WINNER(CLOSE*0.9)*100,LINETHICK4,colorred;
套牢盘:100-WINNER(CLOSE*1.1)*100,LINETHICK2,colorgreen;
A02:=(WINNER((CLOSE*1.1))*100.0);
A03:=(WINNER((CLOSE*0.9))*100.0);
A04:=MA(A03,变量00);
STICKLINE(1.0,0,A04,7.45,0),colorred;
A06:=(100.0-MA(A02,变量00));
STICKLINE(1.0,100.0,MA(A02,变量00),7.45,0),colorgreen;
A08:=(MA(A02,变量00)-MA(A03,变量00));
STICKLINE(1.000,A04,MA(A02,变量00),7.45,0),coloryellow;
A0A:=(((((HHV(A04,15.0)-A03)/A03)*100.0)>变量01)AND(HHV(A04,15.0)>50.0));
STICKLINE(A0A,(0-2.0),2.0,10.0,0);
STICKLINE(NOT(A0A),(0-2.0),2.0,10.0,0),colorblue;
群:MA(A03,M),colormagenta,LAYER1,LINETHICK4;
牛群:100-获利盘-套牢盘,LINETHICK2,coloryellow;
线上黑马:50,LINETHICK8,colorwhite;
DRAWTEXT(ISLASTBAR,线上黑马,' ←线上黑马'),colorwhite;
STICKLINE(1,获利盘,获利盘,6,0),coloryellow;
STICKLINE(1,0,获利盘,6,0),colorred;