今天自创通达信副图指标【黎明曙光】与大家共享。此指标称之为“黎明曙光”正是因为他适应股票起步就如发现初升太阳。太阳每天都是新的,希望大家天天有号心情,抄票个个都能涨。操作方面也正因为是在底部低点抄作,故不能心急,副图中买点信号和短线信号及MACD上0柱,KDJ金叉能共振效果会更佳。任何指标都有他的局限性,恐怕很难做到十全十美,为此请大家都指教。
公式:黎明曙光
源码:
DRAWBAND(趋势,RGB(155,50,50),50,RGB(0,100,50));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
趋势:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
转弱:=趋势<3.5,COLORDBDBDB;
转强:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND 趋势<20,5), COLORBROWN;
自创:=CROSS(趋势,90),COLOR00FF00;
粤东方:CROSS(趋势,90),COLORDBDBDB;
STICKLINE(趋势,0,120,10,0),COLOR8BA400;
STICKLINE(趋势,0,90,10,0),COLOR8BA433;
STICKLINE(趋势,0,75,10,0),COLOR8BA466;
STICKLINE(趋势,0,60,10,0),COLOR8BA488;
STICKLINE(趋势,0,50,10,0),COLOR8BA4AA;
STICKLINE(趋势,0,40,10,0),COLOR8BA4BB;
STICKLINE(趋势,0,35,10,0),COLOR8BA4CC;
STICKLINE(趋势,0,25,10,0),COLOR8BA4EE;
STICKLINE(趋势,0,15,10,0),COLOR8BA5FF;
STICKLINE(趋势,0,-50,10,0),COLOR8BA433;
{STICKLINE(趋势,0,-30,10,0),COLOR8BA444;
STICKLINE(趋势,0,-10,10,0),COLOR8BA455;
STICKLINE(趋势,0,-5,10,0),COLOR8BA466;}
STICKLINE(趋势>0,0,趋势,10,0),COLOR66FF00;
STICKLINE(趋势>0,0,趋势*0.9,10,0),COLOR66EE00;
STICKLINE(趋势>0,0,趋势*0.8,10,0),COLOR66CC00;
STICKLINE(趋势>0,0,趋势*0.7,10,0),COLOR66AA00;
STICKLINE(趋势>0,0,趋势*0.6,10,0),COLOR668800;
STICKLINE(趋势>0,0,趋势*0.5,10,0),COLOR666600;
STICKLINE(趋势>0,0,趋势*0.4,10,0),COLOR664400;
STICKLINE(趋势>0,0,趋势*0.3,10,0),COLOR662200;
STICKLINE(趋势,0,-趋势*0.2,10,0),COLOR324D00;
RSV:(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:EMA(VAR1,13)-EMA(VAR1,21),COLORRED;
SD:= EMA(SK,2);
多方能量:2*(SK-SD)*180.8,COLORFF00FF, LINESTICK;
空方能量:= (-2)*(SK-SD)*180.8, LINESTICK;
强弱分界:= 0, CIRCLEDOT;
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:=SMA(V3,2,1);
V5:=SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
买入:IF((V7 AND COUNT(V7,5)=1),5,0),COLORLIBLUE,LINETHICK2;
DRAWTEXT(买入,5,'买入 '),COLORRED,LINETHICK3; |