分享本人自用的主副图公式,指标当参考,决策在人脑!不必当真,玩呗。。。向论坛里的女坛友们送上真诚的祝福:三八节快乐!(公式非原创,本人只是乱改组合一气吧了。。。向原创者致敬!)
事实证明只有在实战中拥有了自己的操作方法和经验,才能在技术指标走好之前就买入。真正的突破不一定发生在颈线位置上,不必等到颈线突破才进货。同时能在指标走坏前卖出,不会在股票明显进入下降通道的时候出货,在最适当的时机卖出高价!抛出一只股票一定要记住要抛在它涨时,千万不要看见它跌时再抛!在行情好时,快速获大利。在行情差时,也能抓机会获小利。总之不要把不赚钱的原因归咎于市场环境。要敢于从自身查找问题之根源!
股价上涨的真实原因是:有人买进才是真!重在把握高低位,介入点位要精细,最佳理想和满意!涨过就是祸,看涨不真涨,看跌都真跌,不怕错就怕拖。敢在最高点出,善于低位接,才是真本事!
同花顺主图:n1,n2,n3,n4,参数可根据个人喜好自行调整,源码如下:
DRAWGBKLAST(C 0,STRIP(RGB(155,175,200),RGB(150,170,200),1));
YTSL:=(LOW+OPEN+HIGH+2*CLOSE)/5;
启动:EMA(YTSL,N1),ColorFF1EFF;
持股:EMA(YTSL,N2),Color1EFFFF;
辰星:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL,8)+11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL,11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YTSL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+REF(YTSL,20))/211,ColorFFFF1E;
强弱:EMA(YTSL,N3),Color246BFF;
牛熊:MA(YTSL,N4),ColorFF2F2F,LINETHICK1;
aa1:=WMA(CLOSE,2);
bb1:=EMA(aa1,2);
a0:=MA(bb1,3);
aa2:=WMA((HIGH+CLOSE+OPEN)/3,18);
dd3:=a0 =aa2 AND CLOSE
dd4:=a0 aa2 ;
dd5:=a0 aa2 ;
cc1:=((CLOSE-REF(MA(CLOSE,4),1))/3+MA(CLOSE,4))*1.004;
cc2:=CROSS(CLOSE,cc1) AND cc1 REF(cc1,1);
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,HIGH,LOW,0,0),ColorC400C4;
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,CLOSE,OPEN,10,0),Color880088;
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,CLOSE,OPEN,8,0),ColorA600A6;
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,CLOSE,OPEN,4,0),ColorC400C4;//紫
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,HIGH,LOW,0,0),Color62C400;
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,CLOSE,OPEN,10,0),Color448800;
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,CLOSE,OPEN,8,0),Color53A600;
STICKLINE((dd4 OR dd5) AND OPEN =CLOSE ,CLOSE,OPEN,4,0),Color62C400;//绿
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,HIGH,LOW,0,0),Color0000C4;
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,CLOSE,OPEN,10,0),Color000088;
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,CLOSE,OPEN,8,0),Color0000A6;
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,CLOSE,OPEN,4,0),Color0000C4;//红
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,HIGH,LOW,0,0),Color888800;
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,CLOSE,OPEN,10,0),Color666600;
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,CLOSE,OPEN,8,0),Color777700;
STICKLINE((dd3 OR CLOSE aa2) AND OPEN =CLOSE,CLOSE,OPEN,4,0),Color888800;//青
STICKLINE(cc2,HIGH,LOW,0,0),Color0062C4;
STICKLINE(cc2,OPEN,CLOSE,10,0),Color004488;
STICKLINE(cc2,OPEN,CLOSE,8,0),Color0053A6;
STICKLINE(cc2,OPEN,CLOSE,4,0),Color0062C4;//橘黄
STICKLINE(MA(CLOSE,9) OPEN AND CLOSE MA(CLOSE,9),HIGH,LOW,0,0),Color00C4C4;
STICKLINE(MA(CLOSE,9) OPEN AND CLOSE MA(CLOSE,9) AND OPEN CLOSE,OPEN,CLOSE,10,0),Color008888;
STICKLINE(MA(CLOSE,9) OPEN AND CLOSE MA(CLOSE,9) AND OPEN CLOSE,OPEN,CLOSE,8,0),Color00A6A6;
STICKLINE(MA(CLOSE,9) OPEN AND CLOSE MA(CLOSE,9) AND OPEN CLOSE,OPEN,CLOSE,4,0),Color00C4C4;//黄
BDGD:=CROSS(0.8,H=HHV(H,6));
GDSJ:=BARSLAST(BDGD)+1;
波峰:=REF(H,GDSJ),ColorFFFFFF,POINTDOT;
BDDD:=CROSS(0.8,L=LLV(L,6));
DDSJ:=BARSLAST(BDDD)+1;
波谷:=REF(L,DDSJ),COLORFF00FF,POINTDOT;
STICKLINE(GDSJ =6,波峰,波峰,6,0),ColorFB0000,LINETHICK01;
STICKLINE(DDSJ =6,波谷,波谷,6,0),Color1EFFFF,LINETHICK01;
A1:=MIN(O,C);
B1:=ABS(O-C);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,10,0),ColorB5005A;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,8,0),ColorDB006D;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,4,0),ColorF9007C;//紫底背
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,10,0),ColorD2D2D2;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,8,0),ColorF0F0F0;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,4,0),ColorFFFFFF;//白顶背
副图源码如下:
DRAWGBKLAST(C 0,STRIP(RGB(145,145,185),RGB(140,140,180),1));
A:=(HIGH+LOW+5*CLOSE+OPEN)/8;
DIF:(EMA(A,12)-REF(EMA(A,38),1))/(1+EMA(ABS(A),61.5))*1000,Color0000FF;
DEA:SMA(DIF,5,3),Color00FFFF;
MACD:=(DIF-DEA)*2,COLORSTICK;
KDF:SMA(DIF,3,1),ColorFF00FF;
DDF:SMA(KDF,2,1),Color00FF00;
JDF:=3*KDF-2*DDF,Color0000FF;
PARTLINE(DIF,DIF =REF(DIF,1),RGB(250,0,0),DIF REF(DIF,1),RGB(0,0,250)),linethick1;
D2:=MACD;
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,5,0),Color974B00;
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,4,0),ColorB55A00;
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,3,0),ColorD26900;//蓝
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,5,0),Color979700;
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,4,0),ColorB5B500;
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,3,0),ColorD2D200;//兰
STICKLINE(D2 REF(D2,1)AND D2,0,D2,5,0),Color97004B;
STICKLINE(D2 REF(D2,1)AND D2,0,D2,4,0),ColorB5005A;
STICKLINE(D2 REF(D2,1)AND D2,0,D2,3,0),ColorD20069;//紫
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,5,0),Color970097;
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,4,0),ColorB500B5;
STICKLINE(D2 REF(D2,1)AND D2 0,0,D2,3,0),ColorD200D2;//粉