九阳烛主图
【用法说明】
看到星星买入,日K变蓝色卖出,K线上面提示卖字的要减仓
所有信号以准备收盘为准,还没有收盘信号会变的如果佣金低的话我是经过试验的,买入看星星,卖出看60 分钟变蓝色卖出,然后60 分钟变回黄s,K线还是黄s就继续买入,以兴发集团为例子,我2008年11月买入,如果是卖出看60分钟到2月初的时候已经赚了110% ,如果按日线才85%
评台出现后,价咯能突破并站上评台可以买进,否则卖出.看似简单却是远远胜于很多花俏的公式.
DRAWGBK(v>=0,COLORRGB(18,19,51),COLORRGB(100,0,100),0);
DRAWTEXTEX(c>0,1,0,0,'如果佣金低的话,买入看星星,卖出看60 分钟变蓝色卖出,
然后60 分钟变回黄s,K线还是黄s就继续买入'),linethick1,,COLOR663377;
DRAWTEXTEX(c>0,1,0,40,'日K线图均变黄看到星星买入'),linethick1,colorFFFF;
DRAWTEXTEX(c>0,1,0,80,'日K线图均变线蓝色卖出'),linethick1,colorFF0000;
DRAWTEXTEX(c>0,1,0,120,'日K线上面提示卖字的要减仓'),linethick1,,CoLor008000;
DRAWTEXTEX(c>0,1,0,120,'日K线上面提示卖字的要减仓'),linethick1,,CoLor008000;
DRAWTEXTEX(c>0,1,0,160,'价咯能突破并站上量能评台可以买进,否则卖出'),linethick1,COLORCYAN;
HH:=HHV(HIGH,N);
LL:=LLV(LOW,N);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
PARTLINE((HH1 < LL1 ),LL),LINETHICK2,colorBB0066;
PARTLINE((HH1 > LL1),HH),LINETHICK2,color1B8800;
STICKLINE((HH1 < LL1 and CLOSE >= OPEN),HIGH,LOW,0,0),colorFF;
STICKLINE((HH1 < LL1 and CLOSE >= OPEN),CLOSE,OPEN,9,1),colorFF;
STICKLINE((HH1 < LL1 and CLOSE < OPEN),HIGH,LOW,0,0),colorFF;
STICKLINE((HH1 < LL1 and CLOSE < OPEN),CLOSE,OPEN,9,0),colorFF;
STICKLINE((HH1 > LL1 and CLOSE >= OPEN),HIGH,LOW,0,0),colorFF0000;
STICKLINE((HH1 > LL1 and CLOSE >= OPEN),CLOSE,OPEN,9,1),colorFF0000;
STICKLINE((HH1 > LL1 and CLOSE < OPEN),HIGH,LOW,0,0),colorFF0000;
STICKLINE((HH1 > LL1 and CLOSE < OPEN),CLOSE,OPEN,9,0),colorFF0000;
DRAWICON(CROSS(HH1,LL1),HH,11);
DRAWICON(CROSS(LL1,HH1),LL,12);
DRAWTEXT(CROSS(HH1,LL1),HH,'开空平多'),colorFF00;
DRAWTEXT(CROSS(LL1,HH1),LL,'开多平空'),colorFF00FF;
DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,'♂加多'),colorFF00FF; DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,'♀加空'),colorFF00;
VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));
VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));
买入提示:=(VAR1 AND VAR2);
DRAWTEXT(买入提示,(LOW - 0.28),'进\n场'),ALIGN0,colorFFFF;
VAR3:=REF(CLOSE,1);
VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100);
卖出提示:=CROSS(80,VAR4);
DRAWICON(买入提示,(LOW - 0.01),4);
DRAWICON(卖出提示,(HIGH + 0.1),5);
DRAWTEXT(卖出提示,HIGH*1.02 ,'清仓'),ALIGN0,colorFF;
X:=((((OPEN * 0.25) + (CLOSE * 0.45)) + (LOW * 0.15)) + (HIGH * 0.15));
Y:=((((MA(X,3) * 0.105) + (MA(X,5) * 0.215)) + (MA(X,10) * 0.315)) + (MA(X,15) * 0.365));
PARTLINE((Y > REF(Y,1)),Y),LINETHICK2,colorFFFF;
PARTLINE((Y < REF(Y,1)),Y),LINETHICK2,colorFF0000;
VAR1:=EMA(EMA(EMA(CLOSE,8),13),62);
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10));
VAR4:=(REF(VAR3,1));
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),CoLor00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),CoLorFF0000;
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2));
VAR6:=MA(CLOSE,20)+((2)*(STD(CLOSE,20)));
DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),CoLor00FFFF;
DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),CoLor008000;
VAR7:=REF(CLOSE,1);
VAR8:=((SMA(MAX(CLOSE-VAR7,0),7,1))/(SMA(ABS(CLOSE-VAR7),7,1)))*(100);
VAR9:=CROSS(69,VAR8);
VARA:=(FILTER(VAR9,4));
DRAWTEXT(VARA,(HIGH)*(1.04),'↓卖'),CoLor008000;
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7));
VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5));
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF;
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3));
DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),CoLor0000FF;
B1:='^^^^^^^^^^^^^^^^^^^^^^^^量能评台',COLORCYAN;
DRAWTEXT(vol=HHV(vol,20),C ,B1),COLORCYAN;
黄金卖点:=EMA(c+(h-l)*0.618,3);
黄金买点:=EMA((o+h+l)/3,4);
hjmd:=EMA(黄金买点,4),COLORYELLOW,LINETHICK1;
yc:=(h+l)/2;
ychjx:=(EMA(黄金买点,4))+(yc-ref(黄金买点,3))/4;
预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-黄金买点)*0.618;
DRAWTEXTEX(c>0,1,0,200,'黄金卖点:'+NUMTOSTR(黄金卖点,2 )),PXUP20,align4,colorgreen;
DRAWTEXTEX(c>0,1,0,240,'黄金买点:'+NUMTOSTR(黄金买点,2 )),PXUP20,align4,coloryellow;
DRAWTEXTEX(c>0,1,0,280,'预测明日买点:'+NUMTOSTR(预测明日买点,2 )),PXUP20,align4,colorred;
DRAWTEXTEX(c>0,1,0,320,'预测明日卖点:'+NUMTOSTR(预测明日卖点,2 )),PXUP20,align4,colorffffff;
DRAWTEXTEX(c>0,1,0,360,'今日买点:'+NUMTOSTR(hjmd,2 )),PXUP20,align3,colorgreen;
DRAWTEXTEX(c>0,1,0,400,'昨测今日买点:'+NUMTOSTR(ref(ychjx,1),2 )),PXUP20,align3,coloryellow;
DRAWTEXTEX(c>0,1,0,440,'明日买点:'+NUMTOSTR(ychjx,2 )),PXUP20,align3,colorred; |