公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 同花顺公式 > 正文 → 正文

同花顺主力成本线副图源码

发布时间:2017/10/30 6:27:02  浏览次数:

当走势接近箱下沿时可以考虑买入,当走势接近箱上沿时可以考虑卖出。

DRAWGBK(CLOSE=CLOSE, STRIP(RGB(10,190,255),RGB(255,155,155),0));
 VarA:=IF(CLOSE>150,91.3,0.913);
箱下沿:INTPART(CLOSE/VarA )*VarA,POINTDOT,linethick3,colorgreen;
箱上沿:箱下沿+VarA,POINTDOT,linethick3,coloryellow ;
箱中线:(箱下沿+箱上沿)/2,POINTDOT,colorwhite,linethick3;
走势: SMA(FORCAST(CLOSE,18),6,1),COLOR0066cf,LINETHICK2;
 var1:=(SMA(HIGH,21,2) * 1.05);
 Var2:=IF(C/REF(C,1)>1.050 AND V/CAPITAL*100<10 AND C<17 AND H/C<1.01 AND VarA>0, 91, 0);
 STICKLINE(Var2>90,L*0.99,L*0.96,5,0),coloryellow;
 DRAWTEXT(Var2>90,LOW*0.98,' 追'),coloryellow;
 V1:=EMA(EMA(EMA(C,8),13),55);
 V2:=(REF(H,1)+REF(L,1))/2;
 V3:=MA(C,20)+2*STD(C,20);
 DRAWTEXT(CROSS(V2,V3),HIGH*1.06,'→卖'),colorblue;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;
 STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),color070084;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color0000A3;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color0000B7;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000CD;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000E9;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0754E9;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;
 STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;
 STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;
 STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;
 STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;
 STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;
 STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,9,0),color0090FF;
 STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,8,0),color009FFF;
 STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,4,0),color00B5FF;
 STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),color00E4FF;
 STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),OPEN,LOW,0.7,0),color00FFFF;
 STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.7,0),color00FFFF;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),OPEN,LOW,0.7,0),colorFF76FF;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,HIGH,0.7,0),colorFF76FF;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,9,0),colorFF00FF;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,6,0),colorFF62FF;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,4,0),colorFF76FF;
 STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,2,0),colorFFA8FF;

同花顺主力成本线副图源码

资源下载链接   资源大小:unknow
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识