您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

虎运图[其他软件公式]

相关标签:

 

事实证明只有在实站中拥有了自己的操作方法和经验,才能在技术指标走好之前就买入。真正的突破不一定发生在颈线位置上,不必等到颈线突破才进货。同时能在指标走坏前卖出,不会在股票明显进入下降通道的时候出货,在最适当的时机卖出高价!抛出一只股票一定要记住要抛在它涨时,千万不要看见它跌时再抛!在行情好时,快速获大利。在行情差时,也能抓机会获小利。总之不要把不赚钱的原因归咎于市场环境。要敢于从自身查找问题之根源!
股价上涨的真实原因是:有人买进才是真!重在把握高低位,介入点位要精细,最佳理想和满意!涨过就是祸,看涨不真涨,看跌都真跌,不怕错就怕拖。敢在最高点出,善于低位接,才是真本事!

主图:n1,n2,n3,n4,参数可根据个人喜好自行调整,源码如下:

{虎运图}
n1:=5;
n2:=10;
n3:=28;
n4:=63;{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>aa2;
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;//白顶背

这公式太不错了,忍不住转成了我喜欢的飞狐公式

{程序化交易 www.cxh99.com }

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容