今买明卖主图优化(指标)通达信 源码贴图 无加密 无未来 优化后今买明卖主图,底部出现黄色横柱时进入,第2天冲高抛出,买进时,分析该股票的消息面有无利空。
今买明卖主图优化 通达信指标 源码 贴图 无加密 无未来 {---------------------解禁信息数据--在主图中加入以下代码--------如果数据号不一样 清修改为相应数据号---------------} DRAWTEXT_FIX(ISLASTBAR,0.01,0.99,0,EXTERNSTR(0,20)),COLORWHITE; HJ_1:=(CLOSE+LOW+HIGH)/3; HJ_2:=EMA(HJ_1,6); HJ_3:=EMA(HJ_2,5); 生命线:EMA(HJ_3,30),COLORRED,LINETHICK3; HJ_4:=5; HJ_5:=6; HJ_6:=6; HJ_7:=8; HJ_8:=IF(DATE<1910612,1,0); HJ_9:=(HIGH+MAX(CLOSE,OPEN))/2; HJ_10:=MA(HJ_9,3); HJ_11:=(LOW+MIN(CLOSE,OPEN))/2; HJ_12:=MA(HJ_11,3); 超短生命线:MA(HJ_9,3),COLORWHITE; HJ_13:=(HIGH+LOW+CLOSE+OPEN)/4; HJ_14:=MA(HJ_13,3); HJ_15:=REF((CLOSE+OPEN)/2,1)>REF((CLOSE+OPEN)/2,2) AND REF(MIN(CLOSE,OPEN),1)>REF(MAX(CLOSE,OPEN),2); HJ_16:=(MAX(HJ_13,HJ_14)-MIN(HJ_13,HJ_14))/MIN(HJ_13,HJ_14)*100; HJ_17:=(HJ_14-(REF(HJ_14,1)-HJ_14)-LOW)/LOW*100; HJ_18:=(HJ_10+(HJ_10-REF(HJ_10,1))-LOW)/LOW*100; HJ_19:=HJ_14-(REF(HJ_14,1)-HJ_14); HJ_20:=HJ_10+(HJ_10-REF(HJ_10,1)); HJ_21:=IF(HJ_15,HJ_18,HJ_17); HJ_22:=REF(EVERY(CLOSE>=OPEN,4),1) AND REF(EVERY((CLOSE+OPEN)/2>HJ_14,4),1) AND (CLOSE+OPEN)/2HJ_23:=NOT(HJ_22) AND (HJ_14-OPEN)/OPEN*1000>5 AND OPENHJ_24:=SMA(LOW,4,3); HJ_25:=SMA(HIGH,4,3); HJ_26:=SMA(MIN(CLOSE,OPEN),4,3); HJ_27:=REF(LOW,1)-HHV(MAX(REF(LOW,2),REF(LOW,1))-MIN(REF(LOW,2),REF(LOW,1)),2); HJ_28:=REF((CLOSE+OPEN)/2,1)>REF((CLOSE+OPEN)/2,2); HJ_29:=LOW<=HJ_27+HJ_27*0.01 AND OPEN>REF(OPEN,2) AND OPEN>=REF(LOW,3) AND COUNT(CLOSE>OPEN,7)>3; HJ_30:=(HJ_27-LOW)/LOW*100; HJ_31:=(REF(LOW,1)-HJ_27)/HJ_27*100; HJ_32:=(HJ_24-LOW)/LOW>HJ_4/1000; HJ_33:=HJ_32; HJ_34:=(REF(HIGH,1)-OPEN)/OPEN*100-(REF(MAX(CLOSE,OPEN),2)-REF(MAX(CLOSE,OPEN),1))/REF(MAX(CLOSE,OPEN),1)*100; HJ_35:=IF(HJ_28,HJ_30,HJ_34); HJ_36:=HJ_30+HJ_35>2; HJ_37:=IF(HJ_28,HJ_29,HJ_36) AND HJ_21>2; HJ_38:=HJ_8 AND HJ_33 AND HJ_37; STICKLINE(HJ_38,HJ_24*0.995,HJ_24*0.992,4,0),COLORYELLOW; DRAWICON(HJ_8 AND REF(HJ_38,1) AND LOW{-----------------------------------}; VAR1:=EMA(EMA(C,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; JJ:=DYNAINFO(11); P:=55; S:=8; M1:=3; 能量:=(EMA(C,S)-EMA(C,P))*10; 空头:=EMA(能量,M1); BTJ11:=(C-JJ)/JJ<-0.03; BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2; BTJ3:=CROSS(能量,空头) AND 能量<-0.3; BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); 有庄:=BTJ811; DRAWTEXT(BTJ811,C*0.999,'●有庄'),COLORRED; N:=30; M:=13; 顶1:=REFDATE(HHV(H,M),DATE); 底1:=REFDATE(LLV(L,M),DATE); H1:=顶1-(顶1-底1)*0.191; H2:=顶1-(顶1-底1)*0.382; H3:=顶1-(顶1-底1)*0.5; H4:=顶1-(顶1-底1)*0.618; H5:=顶1-(顶1-底1)*0.809; 顶部:IF(CURRBARSCOUNT<=N,REFDATE(顶1,DATE),DRAWNULL),COLOR666666; %19.8:IF(CURRBARSCOUNT<=N,REFDATE(H1,DATE),DRAWNULL),COLOR666666; %38.2:IF(CURRBARSCOUNT<=N,REFDATE(H2,DATE),DRAWNULL),COLOR666666; %50:IF(CURRBARSCOUNT<=N,REFDATE(H3,DATE),DRAWNULL),COLOR666666; %61.8:IF(CURRBARSCOUNT<=N,REFDATE(H4,DATE),DRAWNULL),COLOR666666; %80.9:IF(CURRBARSCOUNT<=N,REFDATE(H5,DATE),DRAWNULL),COLOR666666; 底部:IF(CURRBARSCOUNT<=N,REFDATE(底1,DATE),DRAWNULL),COLOR666666; DRAWTEXT(ISLASTBAR,顶部,' 顶部'),COLORGREEN; DRAWTEXT(ISLASTBAR,%19.8,' 19.8%'),COLORMAGENTA; DRAWTEXT(ISLASTBAR,%38.2,' 38.2%'),COLORYELLOW; DRAWTEXT(ISLASTBAR,%50,' 50%'),COLORWHITE; DRAWTEXT(ISLASTBAR,%61.8,' 61.8%'),COLORYELLOW; DRAWTEXT(ISLASTBAR,%80.9,' 80.9%'),COLORMAGENTA; DRAWTEXT(ISLASTBAR,底部,' 底部'),COLORRED; DRAWTEXT(CURRBARSCOUNT=30,顶部,' 实顶点位'),COLORGREEN; DRAWTEXT(CURRBARSCOUNT=30,%19.8,' 风光无限'),COLORCYAN; DRAWTEXT(CURRBARSCOUNT=30,%38.2,' 高高在上'),COLORWHITE; DRAWTEXT(CURRBARSCOUNT=30,%50,' 平衡中位'),COLORYELLOW; DRAWTEXT(CURRBARSCOUNT=30,%61.8,' 高抛低吸'),COLORBROWN; DRAWTEXT(CURRBARSCOUNT=30,%80.9,' 耐心持有'),COLORMAGENTA; DRAWTEXT(CURRBARSCOUNT=30,底部,' 启动点位'),COLORRED;
|