首页 > 编程语言 >通达信大金叉捉妖主图指标公式源码主图

通达信大金叉捉妖主图指标公式源码主图

时间:2024-03-08 19:45:11浏览次数:26  
标签:大金叉 STICKLINE STRCAT 主图 源码 ZT DT1 ZT1 DT

{ 股票指标 }

Z1:=stRCAT('【',STRCAT(CODE,STKNAME));Z2:=STRCAT(' 行业:',HYBLOCK);
Z3:=STRCAT(' 地域:',DYBLOCK);
Z4:=STRCAT(STRCAT(' 概念:',GNBLOCK),'】');
Z5:=STRCAT(Z1,Z2);Z6:=STRCAT(Z3,Z4);Z7:=STRCAT(Z5,Z6);
DRAWTEXT_FIX(1,0.35,0.030,0,Z7),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.75,0.080,1.0,STRCAT('5日总换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,5),2))),COLOREEEE00;
DRAWTEXT_FIX(ISLASTBAR,0.75,0.130,1.0,STRCAT('10日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,10),2))),COLOREEEE00;
DRAWTEXT_FIX(1.0,0.80,0.080,0,'流通市值:'),COLORGREEN;
DRAWNUMBER_FIX(1.0,0.84,0.080,0, FINANCE(40)/100000000),COLORGREEN;
AAA:=(ma(CLOSE,13)+MA(CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88 ,MA(DDD,3),DDD);
钱袋子:ZZZ*1.04,COLORYELLOW, LINETHICK2;
金手指向下:MA(LOW,20)*1.13, COLORRED, LINETHICK2;
DRAWICON(crOSS( 钱袋子, 金手指向下),钱袋子*1.002,9);
DRAWICON(CROSS( 金手指向下, 钱袋子),金手指向下*1.002,12);
TM:=1200823;
涨停:IF(DATE<tm,ztprice(ref(c,1),if(codelike('688'),0.2,if(nameinclude('s'),0.05,0.1))),ztprice(ref(c,1),if(codelike('688') or="" codelike('300'),0.2,if(nameinclude('s'),0.05,0.1)))),nodraw,colorred;<br=""> 跌停:IF(DATE<tm,dtprice(ref(c,1),if(codelike('688'),0.2,if(nameinclude('s'),0.05,0.1))),dtprice(ref(c,1),if(codelike('688') or="" codelike('300'),0.2,if(nameinclude('s'),0.05,0.1)))),nodraw,colorgreen;<br=""> 明涨停:IF(DATE<tm,c*if(codelike('688'),1.2,if(nameinclude('s'),1.05,1.1)),c*(if(codelike('688') or="" codelike('300'),1.2,if(nameinclude('s'),1.05,1.1)))),nodraw,colorlimagenta;<br=""> 明跌停:IF(DATE<tm,c*if(codelike('688'),0.8,if(nameinclude('s'),0.45,0.9)),c*(if(codelike('688') or="" codelike('300'),0.8,if(nameinclude('s'),0.45,0.9)))),nodraw,colorffff00;<br=""> ZT:=C>=涨停 AND PERIOD=5 AND H=C;
ZT1:=H>=涨停 AND PERIOD=5 AND H>C;
DT:=C<=跌停 AND PERIOD=5 AND L=C;
DT1:=L<=跌停 AND PERIOD=5 AND L<c;
STICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;
STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;
STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;
STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;
STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;
STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;
DRAWTEXT(ZT AND DT1 AND PERIOD=5,L-0.03,'地天板'),COLORCC00CC;{从跌停到涨停}
DRAWTEXT(DT AND ZT1 AND PERIOD=5,H+0.03,'天地板'),COLOR00CC00;{从涨停到跌停};
DRAWTEXT(DT1,L-0.09,'撬板'),COLORCC00CC;{从涨停到跌停};
DRAWTEXT(ZT1,H+0.03,'炸板'),COLOR00CC00;{从涨停到跌停};

 

标签:大金叉,STICKLINE,STRCAT,主图,源码,ZT,DT1,ZT1,DT
From: https://www.cnblogs.com/zhibiao/p/18061717

相关文章

  • 通达信末日抄底选股指标公式源码
    {股票指标}X_1:=CLOSE/ma(CLOSE,40)*100<78;X_2:=CLOSE/MA(CLOSE,60)*100<74;X_3:=HIGH>LOW*1.051;X_4:=X_3ANDCOUNT(X_3,5)>1;X_5:=IF(X_4AND(X_1ORX_2),2,0);X_6:=CLOSE/REF(CLOSE,25)<=1.1;X_7:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(Abs(CL......
  • 通达信共振通杀指标公式源码副图
    {股票指标}RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=Ema(J0,3);J1:=IF(CLOSE>QJ,vol,0);J2:=IF(CLOSE<QJ,VOL,0);量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),......
  • 通达信王者波段选股指标公式源码副图
    {股票指标}W1:=rsi(2);W2:=50;W3:=10;WS:=crOSS(W1,W2);A1:=ma(C,5);A2:=MA(C,13);A3:=MA(C,30);AA:=A3>REF(A3,1);A4:=MA(C,60);A5:=MA(C,250);NM:=((4*SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,1))-(3*SMA(SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,......
  • MetaGPT day06 Environment组件源码 多智能体辩论
    Environment环境中通常具有一定的规则,而agent必须按照规则进行活动,MetaGPT提供了一个标准的环境组件Environment,来管理agent的活动与信息交流。MetaGPT源码中是这样介绍Environment的:环境,承载一批角色,角色可以向环境发布消息,可以被其他角色观察到Environment的基本组成:......
  • yolo-world 源码解析(一)
    .\YOLO-World\configs\deploy\detection_onnxruntime-fp16_dynamic.py#设置基础路径为指定的配置文件路径_base_=('../../third_party/mmdeploy/configs/mmdet/detection/''detection_onnxruntime-fp16_dynamic.py')#定义代码库配置,包括模型类型、任务类型、后处......
  • yolo-world 源码解析(二)
    .\YOLO-World\configs\pretrain\yolo_world_v2_l_vlpan_bn_2e-3_100e_4x8gpus_obj365v1_goldg_train_1280ft_lvis_minival.py#设置基础配置文件路径_base_=('../../third_party/mmyolo/configs/yolov8/''yolov8_l_syncbn_fast_8xb16-500e_coco.py�......
  • yolo-world 源码解析(三)
    .\YOLO-World\configs\segmentation\yolo_world_seg_l_dual_vlpan_2e-4_80e_8gpus_seghead_finetune_lvis.py_base_=('../../third_party/mmyolo/configs/yolov8/yolov8_l_mask-refine_syncbn_fast_8xb16-500e_coco.py')#定义基础配置文件路径custom_imports......
  • yolo-world 源码解析(四)
    PreparingDataforYOLO-WorldOverviewForpre-trainingYOLO-World,weadoptseveraldatasetsaslistedinthebelowtable:DataSamplesTypeBoxesObjects365v1609kdetection9,621kGQA621kgrounding3,681kFlickr149kgrounding641kCC3M-L......
  • yolo-world 源码解析(五)
    .\YOLO-World\yolo_world\datasets\transformers\mm_transforms.py#导入所需的库importjsonimportrandomfromtypingimportTupleimportnumpyasnpfrommmyolo.registryimportTRANSFORMS#注册RandomLoadText类为TRANSFORMS模块@TRANSFORMS.register_module......
  • Marker 源码解析(一)
    .\marker\benchmark.pyimportargparseimporttempfileimporttimefromcollectionsimportdefaultdictfromtqdmimporttqdmfrommarker.convertimportconvert_single_pdffrommarker.loggerimportconfigure_loggingfrommarker.modelsimportload_all_mo......