通达信准确买卖副图源码 说明

[复制链接]
查看46 | 回复0 | 2022-7-11 10:29:51 | 显示全部楼层 |阅读模式
指标名称:沙场点兵(副图指标,无未来函数)
说明:买入条件:图面底部出现黄色建仓区,关注,一旦出现中红变黄柱状,买;红色主力线出现金色钻石符号,买!卖出条件:图面顶部出现绿色派发区,卖,红色主力线出现人形符号卖。特别注意:一旦红色主力线回调后重新上穿50强弱分界,且角度大,猛涨的可能性较大! {沙场点兵,福将牵牛优化}
VAR1:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1);
VAR4:=EMA(VAR3,5);
VAR5:=LLV(LOW,26);
VAR6:=HHV(HIGH,34);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*4,4)*25;
VAR8:=100-VAR1;
VAR9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR10:=SMA(VAR9,3,1);
VAR11:=SMA(VAR10,3,1);
VAR12:=EMA(3*VAR10-2*VAR11,3);
VAR13:=(-1)*(EMA(VAR8,1)-50)+50;
VAR14:=EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);
STICKLINE((CROSS(VAR4,10) AND VAR4>10),40,0,5,0),COLORRED;
战鼓擂:IF(CROSS(VAR4,10) AND VAR4>10,50,0),STICK,COLORYELLOW,LINETHICK2;
DRAWTEXT((CROSS(VAR4,10) AND VAR4>10),55,'战鼓擂'),COLORRED; 分批买: IF((VAR7<10),20,0), LINETHICK1, COLOR00CCFF;
分批卖: IF((VAR7>90),80,100), LINETHICK1 ,COLORGREEN;
大户:SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,9,1),COLOR00FF00;
散户:SMA(大户,3,1), LINETHICK2 , COLORWHITE;
主力:3*大户-2*散户, LINETHICK2 , COLORRED;
头部线:89.307;
底部线:6.788,COLORFFFF00;
强弱线:49, COLORWHITE,POINTDOT,LINETHICK2; DRAWICON(CROSS(散户,主力),主力,15);
DRAWICON(CROSS(散户,主力),90,2);
DRAWICON(CROSS(主力,散户),散户,26);
 

2019818541727542.png

2019818541727542.png

 

2019818545382200.rar

3.47 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2019818545382200.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则