您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

简单操盘手,手机版和pc版都通用公式、源码(通达信公式 主图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

简单操盘手指标。包括手机公式源码,手机公式也可以用在电脑上,信号一样只是没有那么好看。最后两张图是手机操盘手截图。

手机操盘手主图源码,也可以安装在电脑上。DRAWGBK(C>0, RGB(0,0,50),RGB(00,0,0),0,0,1);MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;买线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;庄家:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;IF(庄家>=REF(庄家,1),庄家,DRAWNULL),COLORRED,LINETHICK3;IF(庄家<=REF(庄家,1),庄家,DRAWNULL),COLORGREEN,LINETHICK2;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,'牛马线操盘手'),COLORMAGENTA;卖线:MA(买线,8),COLORGREEN;买:=CROSS(买线,卖线);卖:=CROSS(卖线,买线);DRAWICON(买,L*0.98,1);DRAWICON(卖,H*1.05,2);DRAWICON(CROSS(买线,卖线),LOW*0.95,7);DRAWICON(CROSS(卖线,买线),HIGH*1.02,8);STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORLIRED;STICKLINE(买线>=卖线,CLOSE,OPEN,3,2),COLORLIRED;STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCYAN;STICKLINE(买线<卖线,CLOSE,OPEN,3,2),COLORCYAN;STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.5,0),COLORCYAN;{BS仪表K线}DRAWGBK(C>0, RGB(0,0,50),RGB(00,0,0),0,0,1);DRAWKLINE(H,O,L,C);买线:=EMA(C,3);卖线:=EMA(SLOPE(C,25)*18+C,55);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);ISDOWN:=IF(CLOSE<OPEN,1,0);ISUP:=IF(CLOSE>OPEN,1,0);STICKLINE(买线<卖线 AND ISDOWN,HIGH,OPEN,0,0),COLORCYAN;STICKLINE(买线<卖线 AND ISDOWN,CLOSE,OPEN,3,0),COLORCYAN;STICKLINE(买线<卖线 AND ISDOWN,CLOSE,LOW,0,0),COLORCYAN;STICKLINE(买线>=卖线 AND ISUP,HIGH,CLOSE,0,1),COLORRED;STICKLINE(买线>=卖线 AND ISUP,CLOSE,OPEN,3,1),COLORRED;STICKLINE(买线>=卖线 AND ISUP,OPEN,LOW,0,1),COLORRED;STICKLINE(买线>=卖线 AND ISDOWN,CLOSE,LOW,0,0),COLORRED;STICKLINE(买线>=卖线 AND ISDOWN,HIGH,OPEN,0,0),COLORRED;STICKLINE(买线>=卖线 AND ISDOWN,CLOSE,OPEN,3,1),COLORRED,LINETHICK2;STICKLINE(买线>=卖线 AND ISDOWN,CLOSE*1.0018,OPEN*0.9988,1.8,0),COLORCYAN;STICKLINE(买线<卖线 AND ISUP,HIGH,CLOSE,0,1),COLORCYAN;STICKLINE(买线<卖线 AND ISUP,CLOSE,OPEN,3,1),COLORCYAN;STICKLINE(买线<卖线 AND ISUP,OPEN,LOW,0,1),COLORCYAN;MA1:MA(CLOSE,5);MA2:MA(CLOSE,13),LINETHICK2;MA3:MA(CLOSE,21);MA4:MA(CLOSE,62),LINETHICK2;MA120:MA(CLOSE,120);MA6:MA(CLOSE,250);DRAWBMP(BU=1,L,'B');DRAWBMP(SEL=1,HIGH*1.038,'S');{======================================================}范围高A:=REFDATE(HHV(H,120),DATE)*1.05;范围低A:=REFDATE(LLV(L,120),DATE)*0.95;MA5:=MA(C,5),COLORCYAN,LINETHICK2;MA24:=MA(C,24),COLORGREEN,LINETHICK2;MA72:=MA(C,72),COLORRED,LINETHICK2;MA200:=IF((MA(C,200)<=范围高A AND MA(C,200)>=范围低A) OR C>=MA(C,200),MA(C,200),DRAWNULL),COLORBLUE,LINETHICK2;{=======================仪表盘=========================}主升浪:=ISLASTBAR AND MA5>MA24 AND MA24>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);主浪回调:=ISLASTBAR AND MA24>MA5 AND MA5>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);主浪深调:=ISLASTBAR AND MA24>MA72 AND MA72>MA5 AND MA5>IF(MA200=DRAWNULL,0,MA200);初升浪:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MAX(MA24,MA72) AND MA5>MA24 AND MA24>MA72;底部反弹:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA5>MA24;探底阶段:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA24>MA5;观望:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24>MA72 AND C<MA72,MA72>MA200 AND C<MA200);有牛:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24<MA72 AND C>=MA72,MA72<MA200 AND C>=MA200);放弃:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24<MA72 AND C<MA72,MA72<MA200 AND C<MA200);DRAWGBK(显示仪表盘1=1 AND 主升浪=0 AND 主浪回调=0 AND 主浪深调=0 AND 初升浪=0 AND 底部反弹=0 AND 探底阶段=0 AND 观望=0 AND 有牛=0 AND 放弃=0,0,0,0,'观望',0)COLOR00BF00;DRAWGBK(显示仪表盘1=1 AND 主升浪,0,0,0,'主升浪',0)COLORFF00FF;DRAWGBK(显示仪表盘1=1 AND 主浪回调,0,0,0,'主浪回调',0)COLORFF8080;DRAWGBK(显示仪表盘1=1 AND 主浪深调,0,0,0,'主浪深调',0)COLOR009500;DRAWGBK(显示仪表盘1=1 AND 初升浪,0,0,0,'初升浪',0)COLOR00FFFF;DRAWGBK(显示仪表盘1=1 AND 底部反弹,0,0,0,'底部反弹',0)COLORFFFF00;DRAWGBK(显示仪表盘1=1 AND 探底阶段,0,0,0,'探底阶段',0);DRAWGBK(显示仪表盘1=1 AND 观望,0,0,0,'观望',0)COLORFFFF00;DRAWGBK(显示仪表盘1=1 AND 有牛,0,0,0,'有牛',0)COLOR00FFFF;DRAWGBK(显示仪表盘1=1 AND 放弃,0,0,0,'放弃',0)COLOR00BF00;{简单牛马线}DRAWGBK(C>0, RGB(0,0,50),RGB(00,0,0),0,0,1);H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,NODRAW;支撑:L1+P1*0.5/8,NODRAW;CC:CLOSE,NODRAW,LINETHICK2;XJ:=IF(PERIOD=0 ,"FSYY.XJ#DAY",DRAWNULL),NODRAW;ZS:=IF(PERIOD=0 ,"FSYY.ZS#DAY",DRAWNULL),NODRAW;今阻③:=ZS*(1+0.191*0.1);今撑④:=ZS*(1-0.191*0.1);DRAWTEXT_FIX(1,0.1,1-0.95,0,STRCAT('今日阻力③',CON2STR(阻力,2))),COLOR00FF00;DRAWTEXT_FIX(1,0.1,1-0.85,0,STRCAT('今日支撑④',CON2STR(支撑,2))),COLORFF00FF;{T+1止赢、止损}止赢:H1,NODRAW,LINETHICK6;DRAWTEXT(ISLASTBAR,H1,'当日止赢价位'),NODRAW;止损:阻力,NODRAW,LINETHICK1;DRAWTEXT(ISLASTBAR,阻力,'高位止损价位'),NODRAW;最后止损:支撑,NODRAW,LINETHICK6;DRAWTEXT(ISLASTBAR,支撑,'低位止损价位'),NODRAW;UR:=10;LR:=10;{程序化久久公式网www.cxh99.com}MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;买线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;庄家:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;IF(庄家>=REF(庄家,1),庄家,DRAWNULL),COLORRED,LINETHICK3;IF(庄家<=REF(庄家,1),庄家,DRAWNULL),COLORGREEN,LINETHICK2;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,'牛马线操盘手'),COLORMAGE

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容