MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
A1:=IF(C =MA5,1,-1);
A2:=IF(C =MA10,1,-1);
A3:=IF(C =MA20,1,-1);
A4:=IF(MA5 =REF(MA5,1),1,-1);
A5:=IF(MA10 =REF(MA10,1),1,-1);
A6:=IF(MA20 =REF(MA20,1),1,-1);
趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;
主升浪:趋势 =50,COLOR0000FF,POINTDOT,NODRAW;
↓:趋势 50,COLORFFFFFF,POINTDOT,NODRAW;
进场日:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,NODRAW;
{以下设置副图显示方式}
DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));
STICKLINE(主升浪,进场日*0.8,进场日*0.95,3,0),COLOR0000FF;
STICKLINE(主升浪,进场日*1.05,进场日*1.2,3,0),COLOR0000FF;
STICKLINE(主升浪ANDC REF(C,1),进场日*0.9,进场日*1.1,3,1),COLORFFFFFF;
%:趋势,COLOR00FF00;
MC:=C#MONTH,NODRAW;
MH:=H#MONTH,NODRAW;
ML:=L#MONTH,NODRAW;
MO1:=IF(DAY REF(DAY,1),O,DRAWNULL);
MO:=HHV(MO1,DAY),NODRAW;
STICKLINE(MC =MO,MH,ML,4,-1)COLOR00009C;
STICKLINE(MC =MO,MH,ML,4,-1),COLOR4F2F4F;
周O1:=IF(WEEKDAY REF(WEEKDAY,1),O,DRAWNULL);
周开:HHV(周O1,WEEKDAY)COLORRED,NODRAW;
周高:HHV(H,WEEKDAY)COLORYELLOW,NODRAW;
周低:LLV(L,WEEKDAY)COLOR32CD32,NODRAW;
周收:C#WEEK, COLORFF6EC7,NODRAW;
STICKLINE(周收 =周开,周收,周高,4,0)COLOR600060;
STICKLINE(周收 =周开,周低,周收,4,0)COLORFF0098;
STICKLINE(周收 周开,周收,周高,4,0),COLOR9F3333;
STICKLINE(周收 周开,周开,周低,4,0),COLOR9F3333;
周中:(H#WEEK+L#WEEK)/2,NODRAW,COLORYELLOW;
STICKLINE(周中,周中,周中,4.5,-1),COLOR00FFFF;
DRAWTEXT_FIX(1,0.05,0.0,0,'【操作提示】★ ★ 红K强势做多持股 ★ ★ 绿K持币空仓休息 ★ ★ 黄K阶段性反弹手里有货T+0 ★ ★ 蓝K阶段性超跌准备抢反弹 ★ ★ '),COLORMAGENTA;
MA13:MA(C,13),COLORWHITE,LINETHICK3;
IF(MA13 REF(MA13,1),MA13,DRAWNULL),COLORRED,LINETHICK3;
IF(MA13 REF(MA13,1),MA13,DRAWNULL),COLORGREEN,LINETHICK3;
MA34:MA(CLOSE,34),LINETHICK2;
MA89:MA(CLOSE,89),LINETHICK2;
:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100;
:=(C-LLV(L,89))/(HHV(H,89)-LLV(L,89))*100;
AAA:=长线
BBB:=长线
CCC:=长线 =51 AND 短线 50 AND 中线
DDD:=长线 =51 AND 短线 50 AND 中线
STICKLINE(AAA,H,L,0,0),COLOR106FFF;
STICKLINE(BBB,H,L,0,0),COLORGREEN;
STICKLINE(CCC,H,L,0,0),COLORYELLOW;
STICKLINE(DDD,H,L,0,0),COLORYELLOW;
STICKLINE(AAA,C,O,4,0),COLOR0000C8;
STICKLINE(AAA,C,O,3,0),COLOR0000D7;
STICKLINE(AAA,C,O,2,0),COLOR0000EA;
STICKLINE(AAA,C,O,1,0),COLOR0000FF;
STICKLINE(BBB,C,O,4,0),COLOR00B500;
STICKLINE(BBB,C,O,3,0),COLOR00C600;
STICKLINE(BBB,C,O,2,0),COLOR00D500;
STICKLINE(BBB,C,O,1,0),COLOR00E600;
STICKLINE(CCC,C,O,4,0),COLOR33CFDD;
STICKLINE(CCC,C,O,3,0),COLOR33DFDD;
STICKLINE(CCC,C,O,2,0),COLOR33EFDD;
STICKLINE(CCC,C,O,1,0),COLOR33FFDD;
STICKLINE(DDD,C,O,4,0),COLOR33CFDD;
STICKLINE(DDD,C,O,3,0),COLOR33DFDD;
STICKLINE(DDD,C,O,2,0),COLOR33EFDD;
STICKLINE(DDD,C,O,1,0),COLOR33FFDD;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
STICKLINE(RSI1 15,H,L,0,0)COLORFF9900;
STICKLINE(RSI1 15,C,O,4,0),COLORFF9900;
STICKLINE(RSI1 15,C,O,3,0),COLORFFAA00;
STICKLINE(RSI1 15,C,O,2,0),COLORFFBB00;
STICKLINE(RSI1 15,C,O,1,0),COLORFFCC00;
公式解读:
今天的分享就到这里啦,大家感觉怎么样呢?有什么意见建议的朋友欢迎在下方评论区写下你的看法,我们共同学习进步,还请大家多多关注支持哦!!敬请期待明天的分享!
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
通达信跌涨趋势线主图指标公式
加入收藏