通达信趋势动力主图指标 以量化评分作为核心卖点 源码 贴图

2024-08-09 10:06:00来源:本站整理浏览:1059

指标介绍:
1、蓝色的彩带象征着生命线,其变化蕴含着市场的波动与趋势。当蓝色彩带逐渐变宽时,这通常意味着空头趋势正在增强,市场可能面临下跌风险。在这种情况下,需要保持警惕,注意规避潜在的风险。
2、红色彩带作为主力操盘线,其变化具有重要的指示作用。当红色彩带扩大时,表明多头趋势正在增强,此时应坚定持有。相反,如果红色彩带缩小,则意味着多头趋势正在减弱,需警惕可能出现的多头终结。
3、重点:以量化评分作为核心卖点,评分范围设定在0-90分之间。评分的高低直接反映了个股走势的强弱。具体来说,评分越高,预示着个股的走势越强劲。反之,若评分低于50分,则建议采取观望态度。

通达信趋势动力主图指标 以量化评分作为核心卖点 源码 贴图

通达信趋势动力主图指标 以量化评分作为核心卖点 源码 贴图

HGW1:=(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
HGW2:=DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL))));
HGW3:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
HGW4:=(REF(HGW3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW5:=(REF(HGW4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW6:=(REF(HGW5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW7:=(REF(HGW6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW8:=(REF(HGW7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW9:=(REF(HGW8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW10:=(REF(HGW9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW11:=(REF(HGW10,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW12:=(REF(HGW11,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW13:=(REF(HGW12,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW14:=(REF(HGW13,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW15:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
HGW16:=(REF(HGW15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW17:=(REF(HGW16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW18:=(REF(HGW17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW19:=(REF(HGW18,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW20:=(REF(HGW19,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW21:=(REF(HGW20,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW22:=(REF(HGW21,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW23:=(REF(HGW22,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW24:=(REF(HGW23,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW25:=(REF(HGW24,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
HGW26:=(REF(HGW25,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
HGW27:=HGW15 OR HGW16 OR HGW17 OR HGW18 OR HGW19 OR HGW20;
HGW28:=HGW27 OR HGW21 OR HGW22 OR HGW23 OR HGW24 OR HGW25;
HGW29:=((REF(HGW28 OR HGW26,1)) AND HGW3);
HGW30:=HGW3 OR HGW4 OR HGW5 OR HGW6 OR HGW7 OR HGW8 OR HGW9;
HGW31:=HGW30 OR HGW10 OR HGW11 OR HGW12 OR HGW13;
HGW32:=((REF(HGW31 OR HGW14,1)) AND HGW15);
HGW33:=HGW3 OR HGW4 OR HGW5 OR HGW6 OR HGW7 OR HGW8 OR HGW9;
红色持股:HGW33 OR HGW10 OR HGW11 OR HGW12 OR HGW13 OR HGW14,COLOR0000FF,NODRAW;
HGW34:=IF(红色持股,LLV(CLOSE,2),DRAWNULL);
HGW35:=HGW15 OR HGW16 OR HGW17 OR HGW18 OR HGW19 OR HGW20 OR HGW21;
今离场价:REF(HGW34,1),COLOR0000FF,NODRAW;
青色观望:HGW35 OR HGW22 OR HGW23 OR HGW24 OR HGW25 OR HGW26,COLORFFFF00,NODRAW;
HGW36:=IF(青色观望,HHV(CLOSE,2),DRAWNULL);{公式网WWW.GPXIAZAI.COM}
HGW37:=(HIGH+LOW+OPEN+2*CLOSE)/5;
HGW38:=2*HGW37-HIGH;
HGW39:=HGW37-(HIGH-LOW);
HGW40:=IF(MA(CLOSE,5)>MA(CLOSE,10),20,0);
HGW41:=IF(MA(CLOSE,20)>MA(CLOSE,60),10,0);
HGW42:=IF(KDJ.J>KDJ.K,10,0);
HGW43:=IF(MACD.DIF>MACD.DEA,10,0);
HGW44:=IF(MACD.MACD>0,10,0);
HGW45:=IF(VOL>MA(VOL,60),10,0);
HGW46:=IF(WINNER(CLOSE)>0.5,10,0);
HGW48:=IF(CLOSE/REF(CLOSE,1)>1.03,10,0);
HGW49:=HGW40+HGW41+HGW42+HGW43+HGW44+HGW45+HGW46+HGW48;
今进场价:REF(HGW36,1),COLORFF0000,NODRAW;
短买:HGW29,COLOR33AACC,NODRAW;
白色离场:HGW32,COLORFF99FF,NODRAW;
急速超跌:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF,NODRAW;
上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;
月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;
日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;
DRAWTEXT_FIX(C!=0,0.90,0.88,0,STRCAT('支撑:',STRCAT(CON2STR(HGW38,2),' 元'))),COLORRED;
DRAWTEXT_FIX(C!=0,0.90,0.96,0,STRCAT('反转:',STRCAT(CON2STR(HGW39,2),' 元'))),COLORYELLOW;
DRAWTEXT_FIX(V>O,0.90,0.80,0,STRCAT('量化评分:',STRCAT(CON2STR(HGW49,2),' '))),COLORFFFFFF;
DRAWBAND(HGW1,RGB(255,50,50),HGW2,RGB(64,204,208));


 

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式