通达信资金仓位指标公式源码
时间:2019-08-22 21:12 来源:股窜网 作者:gucuan 阅读:次
以下是股窜网(www.gucuan.com)为你提供的:通达信资金仓位指标公式源码

VAR2:=MA(CLOSE,5);
VAR3:=MA(CLOSE,15);
VAR4:=MA(CLOSE,20);
VAR5:=MA(CLOSE,45);
满仓:100,POINTDOT,COLORRED;
八成:80,POINTDOT,COLORMAGENTA;
半仓:50,POINTDOT,COLORYELLOW;
三成:30,POINTDOT,COLORGREEN;
空仓:0,POINTDOT,COLORWHITE;
VAR6:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR7:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR8:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR9:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR10:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR11:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR12:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR13:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;
VAR14:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR15:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR16:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR17:=CLOSE>VAR2 AND CLOSE=VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR18:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;
VAR19:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR20:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR21:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;
STICKLINE(VAR6,0,5,3,0),COLORWHITE;
STICKLINE(VAR7 OR VAR18 OR VAR19 OR VAR21,0,30,3,0),COLORGREEN;
DRAWICON(((VAR7 OR VAR18 OR VAR19 OR VAR21) AND REF(VAR6,1)),30,1);
STICKLINE(VAR8 OR VAR20,0,50,3,0),COLORYELLOW;
DRAWICON(((VAR8 OR VAR20) AND REF((VAR7 OR VAR18 OR VAR19 OR VAR21),1)),50,23);
STICKLINE(VAR9,0,80,3,0),COLORLIMAGENTA;
DRAWICON((VAR9 AND REF((VAR8 OR VAR20),1)),80,23);
STICKLINE(VAR10,0,100,3,0),COLORRED;
STICKLINE(VAR11,0,80,3,0),COLORMAGENTA;
DRAWICON((VAR10 AND REF(VAR11,1)),90,9);
STICKLINE(VAR12,0,50,3,0),COLORYELLOW;
STICKLINE(VAR13,0,20,3,0),COLORGREEN;
STICKLINE(VAR14 OR VAR15 OR VAR16 OR VAR17,0,50,3,0),COLORGRAY;

VAR2:=MA(CLOSE,5);
VAR3:=MA(CLOSE,15);
VAR4:=MA(CLOSE,20);
VAR5:=MA(CLOSE,45);
满仓:100,POINTDOT,COLORRED;
八成:80,POINTDOT,COLORMAGENTA;
半仓:50,POINTDOT,COLORYELLOW;
三成:30,POINTDOT,COLORGREEN;
空仓:0,POINTDOT,COLORWHITE;
VAR6:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR7:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR8:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR9:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR10:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR11:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR12:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR13:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;
VAR14:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR15:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;
VAR16:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR17:=CLOSE>VAR2 AND CLOSE=VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;
VAR18:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;
VAR19:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR20:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;
VAR21:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;
STICKLINE(VAR6,0,5,3,0),COLORWHITE;
STICKLINE(VAR7 OR VAR18 OR VAR19 OR VAR21,0,30,3,0),COLORGREEN;
DRAWICON(((VAR7 OR VAR18 OR VAR19 OR VAR21) AND REF(VAR6,1)),30,1);
STICKLINE(VAR8 OR VAR20,0,50,3,0),COLORYELLOW;
DRAWICON(((VAR8 OR VAR20) AND REF((VAR7 OR VAR18 OR VAR19 OR VAR21),1)),50,23);
STICKLINE(VAR9,0,80,3,0),COLORLIMAGENTA;
DRAWICON((VAR9 AND REF((VAR8 OR VAR20),1)),80,23);
STICKLINE(VAR10,0,100,3,0),COLORRED;
STICKLINE(VAR11,0,80,3,0),COLORMAGENTA;
DRAWICON((VAR10 AND REF(VAR11,1)),90,9);
STICKLINE(VAR12,0,50,3,0),COLORYELLOW;
STICKLINE(VAR13,0,20,3,0),COLORGREEN;
STICKLINE(VAR14 OR VAR15 OR VAR16 OR VAR17,0,50,3,0),COLORGRAY;
上一篇:通达信仓位管理指标公式源码

热门阅读

最新内容
推荐图文
- 通达信安全背离指标公式
以下是股窜网(www.gucuan.com)为你提供的:通达信安全背离指标... - 通达信改布林轨道主图指
股窜网(www.gucuan.com)提醒您,以下是:通达信改布林轨道主图... - 通达信公式源码导入和使
首先按 ctrl+f 调出公式管理器,然后点击 新建 按照图中红色文字... - 量能过前高 抓涨停 ( 副
股窜网 股票公式下载(www.gucuan.com)提示,您正在下载的是: ...
相关内容
