您的位置:股票站 > 查股公式 > 通达信五彩谷峰主图指标公式[查股公式]
股票行情消息数据:

通达信五彩谷峰主图指标公式[查股公式]

2022/5/26 17:40:07

A4:=ma(CLOSE,20);
A5:=(CLOSE>MA(CLOSE,5));
A6:=(MA(CLOSE,5)>MA(CLOSE,10));
A7:=(CLOSE>MA(CLOSE,10));
A8:=(MA(CLOSE,5)>MA(CLOSE,20));
A9:=(CLOSE>MA(CLOSE,20));
A10:=REF(A4,1);
A11:=(A4> A10);
AVX:=(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 -10))) +
IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 -10)))+50,COLORFF00FF;
AAB:= AVX>=90;
BBBB:= AVX>=70 AND AVX<90;
DDB:= AVX>=50 AND AVX<70;
EEB:=AVX<50 AND AVX>=30;
FFB:=AVX<30;
stICKLINE(AAB,C,O,3.4,0),COLOR000088;
STICKLINE(AAB,C,O,3.0,0),COLOR000099 ;
STICKLINE(AAB,C,O,2.4,0),COLOR0000AA;
STICKLINE(AAB,C,O,2.0,0),COLOR0000BB ;
STICKLINE(AAB,C,O,1.2,0),COLOR0000DD;
STICKLINE(AAB,C,O,0.6,0),COLOR0000EE;
STICKLINE(AAB,H,L,0,0),COLOR0000FF;
STICKLINE(BBBB,C,O,3.4,0),COLOR880088;
STICKLINE(BBBB,C,O,3.0,0),COLOR990099;
STICKLINE(BBBB,C,O,2.4,0),COLORAA00AA;
STICKLINE(BBBB,C,O,2.0,0),COLORBB00BB;
STICKLINE(BBBB,C,O,1.2,0),COLORDD00DD;
STICKLINE(BBBB,C,O,0.6,0),COLOREE00EE;
STICKLINE(BBBB,H,L,0,0),COLORFF00FF;
STICKLINE(DDB,C,O,3.4,0),COLOR008888;
STICKLINE(DDB,C,O,3.8,0),COLOR00AA99;
STICKLINE(DDB,C,O,2.2,0),COLOR00BBBB;
STICKLINE(DDB,C,O,1.2,0),COLOR00CCDD;
STICKLINE(DDB,C,O,0.6,0),COLOR00EEEE;
STICKLINE(DDB,H,L,0,0),COLOR00EEFF;
STICKLINE(EEB,C,O,3.4,0),COLORAAAA00;
STICKLINE(EEB,C,O,2.8,0),COLORBBBB00;
STICKLINE(EEB,C,O,2.2,0),COLORCCCC00;
STICKLINE(EEB,C,O,1.2,0),COLORDDDD00;
STICKLINE(EEB,C,O,0.6,0),COLOREEEE00;
STICKLINE(EEB,H,L,0,0),COLORFFFF00;
STICKLINE(FFB,C,O,3.4,0),COLOR882200;
STICKLINE(FFB,C,O,2.8,0),COLOR995500;
STICKLINE(FFB,C,O,2.2,0),COLORAA7700;
STICKLINE(FFB,C,O,1.2,0),COLORDD8800;
STICKLINE(FFB,C,O,0.6,0),COLOREE9900;
STICKLINE(FFB,H,L,0,0),COLORFF9900;
底部:LLV(HIGH,30),COLOR00FFFF,LINETHICK1;
超跌:IF(ISLASTBAR,底部,DRAWNULL),COLORRED,LINETHICK2;
STICKLINE(ISLASTBAR ,超跌,超跌,60,0),LINETHICK2,COLORRED;
TT:=IF(ISLASTBAR,240/FROMOPEN,1);
NN:=120;
HH:=HHV(V*TT,NN);
LL:=LLV(V,NN);
最高:=CONST(HH);
最低:=CONST(LL);
最高2:=CONST(HHV(H,NN));
最低2:=CONST(LLV(L,NN));
PP:=IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6)),NODRAW;
RCC1:=最高2*0.9-(最高2-最低2)*PP;
最低3:=MIN(RCC1,最低2);
AAD:=最低3;
DRAWTEXT_FIX(1,0,0.0,0,'★★ 黄色线--底部线★★'),COLORFFFF00;
STICKLINE(AAB,AAD-0.000*AAD,AAD-0.030*AAD,4,0),COLORRED;
STICKLINE(BBBB,AAD-0.000*AAD,AAD-0.030*AAD,4,0),COLORFF00FF;
STICKLINE(DDB,AAD-0.0000*AAD,AAD-0.030*AAD,4,0),COLOR00FFFF;
STICKLINE(EEB,AAD-0.0*AAD,AAD-0.03*AAD,4,0),COLORFFFF00;
STICKLINE(FFB,AAD-0.0*AAD,AAD-0.03*AAD,4,1),COLORFF6600;
DRAWTEXT_FIX(1,0.12,0.90,0,'【谷峰色条】★★ 红色-谷峰线>=90★★粉色--70<=谷峰线<90★★黄色--50<=谷峰线<70★★青色---50>谷峰线>=30 ★★ 蓝色-谷峰线<30★★'),COLOR00FF00;
MA20:MA(CLOSE,20),COLORFFFFFF,LINETHICK3;
IF(MA20>=REF(MA20,1),MA20,DRAWNULL),COLOR0000FF,LINETHICK3;
IF(REF(MA20,1)>MA20,MA20,DRAWNULL),COLOR00FF00,LINETHICK3;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
股票站免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29