线上买进线下高风险跑 100,POINTDOT; 60,POINTDOT; VAR1:=88; VAR2:=68; VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR4:=SMA(VAR3,3,1); VAR5:=SMA(VAR4,3,1); VAR6:=3*VAR4-2*VAR5; VAR7:=SMA(CLOSE/HHV(HIGH,120),3,1)*100; VAR8:=SMA(CLOSE/HHV(HIGH,120),3,1)*100; VAR9:=VAR7>REF(VAR7,20) AND VAR7>75 AND FILTER(VAR7/REF(LLV(LOW,20),10)>1.18,20); VARA:=IF(VAR7>70 AND VAR7<75,1,0); 黑马线: VAR7,LINETHICK2,COLOR00DDFF; IF(黑马线>=REF(黑马线,1),黑马线,DRAWNULL),COLORYELLOW,LINETHICK2; IF(黑马线< REF(黑马线,1),黑马线,DRAWNULL),,COLORGREEN,LINETHICK2; DRAWTEXT(COUNT(VARA,20)>3 AND VAR7/HHV(HIGH,30)<1,VAR7,'调整到位'); 86,LINETHICK2; DRAWICON(CROSS( 黑马线,86), 黑马线 ,9),LINETHICK2; VARB:=REF(CLOSE,1); VARC:=SMA(MAX(CLOSE-VARB,0),6,1)/SMA(ABS(CLOSE-VARB),6,1)*100; 调整:VAR7,COLORWHITE; VARD:=VAR7; 买进:STICKLINE(VAR7<68 AND BARSLAST(CROSS(VAR2,调整))>2 AND CROSS(VAR6,VAR5) AND VAR5<30,60,68,5,0),COLORF0F000; DRAWICON(CROSS( 黑马线,VAR1), 黑马线 ,9),LINETHICK2; 顶部区:IF(VAR7>VAR1,VAR7,VAR1),COLORWHITE,LINETHICK2; 底部区:IF(VAR8<60,VARD,60),LINETHICK2; DRAWTEXT(VAR9 AND VAR7<88,调整,'短期风险'),COLORF00FF0; 上操下逃线:(顶部区+底部区)/2,LINETHICK2; IF(上操下逃线>=REF(上操下逃线,1),上操下逃线,DRAWNULL),COLORRED,LINETHICK2; IF(上操下逃线< REF(上操下逃线,1),上操下逃线,DRAWNULL),,COLORGREEN,LINETHICK2; DRAWTEXT(VAR7<68 AND BARSLAST(CROSS(VAR2,VAR7))>2 AND VAR5<30 AND CROSS(VAR6,VAR5),63,'来抢钱吧'),COLOR00FFE0; DRAWTEXT(FILTER(调整<52,10),调整,'都疯我没疯'); DRAWTEXT(VAR7>88 AND CROSS(84,VARC),调整,'高风险跑'); DRAWICON(CROSS( 黑马线,上操下逃线), 黑马线 ,9),LINETHICK2; DRAWTEXT(FILTER(VARD<52,10),VARD,'←A'); DRAWTEXT(VAR7<68 AND BARSLAST(CROSS(VAR2,VAR7))>2 AND VAR5<30 AND CROSS(VAR6,VAR5),70,'←B'); WWWCHNMONEYCOM:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; DRAWTEXT(VAR7>88 AND CROSS(84,VARC),VARD,'←C'); 益盟BS操盘线的精髓:B点:买入,红色k线:持股。S点:卖出,绿色k线:持币。 主要表现在于抓住主升浪, 具体: 一是主升浪不落一个; 二是个股80%以上的利润纳入到B点与S点之间。 一直想弄到益盟的源码,应该是不可能的了,源码是基于主程序设计的,不可能把人家主程序也和谐了,别人是靠这个吃饭的啊,自己编出来的东西总觉得缺点什么,结果走了许多弯路。终于搞出来了一个可以和益盟BS操盘线有的一比的通达信BS操盘线指标,但和益盟的还有差距,希望有哪位牛人能早日和谐益盟操盘线源码分享给大家!我研究出有更好的操盘线了也第一时间发给大家!这款需要的下载,不喜勿喷 P1~P4是参数,自己设置参数吧 MA5:MA(CLOSE,P1); MA10:MA(CLOSE,P2); MA20:MA(CLOSE,P3); MA60:MA(CLOSE,P4); X1:=(C+L+H)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); DRAWICON(CROSS(X2,X3),L*0.99,7); XG:CROSS(X2,X3),NODRAW; DRAWICON(CROSS(X3,X2),H*1.01,8); STICKLINE(X2>=X3,LOW,HIGH,0,1),COLORRED; STICKLINE(X2>=X3,CLOSE,OPEN,3,1),COLORRED; STICKLINE(X2<X3,LOW,HIGH,0,1),COLORCYAN; STICKLINE(X2<X3,CLOSE,OPEN,3,1),COLORCYAN; 经典的公式 缠论画笔,不需要dll支持,永久免费使用,下面是源码(顶尖财经:股票学院 http://www.58188.com) {均线} {MA1:MA(C,M1); MA2:MA(C,M2); MA3:MA(C,M3); MA4:MA(C,M4);} 黄金柱:=V/REF(V,1)>=1.9; DRAWLINE(黄金柱,H,REF(黄金柱,1),REF(H,1),1),COLORRED; DRAWLINE(黄金柱,L,REF(黄金柱,1),REF(L,1),1),COLORYELLOW; 倍缩:=V/REF(V,1)<=0.6; DRAWLINE(倍缩,H,REF(倍缩,1),REF(H,1),1),COLOR1D7300; HH:=REF(H,5)=HHV(H,11); LL:=REF(L,5)=LLV(L,11); FG01:=BACKSET(HH,6)>BACKSET(HH,5) ; FD01:=BACKSET(LL,6)>BACKSET(LL,5) ; FG0:=FG01 AND H=HHV(H,BARSLAST(FD01)); FD0:=FD01 AND L=LLV(L,BARSLAST(FG01)); J0:=(H+L)/2; FGH:=REF(H,BARSLAST(FG0)); FGH1:=REF(H,BARSLAST(FG0)+1); FGL1:=REF(L,BARSLAST(FG0)+1); FGH2:=REF(H,BARSLAST(FG0)+2); FGL2:=REF(L,BARSLAST(FG0)+2); FGJ0:=REF(J0,BARSLAST(FG0)); FGL:=REF(L,BARSLAST(FG0)); FDH:=REF(H,BARSLAST(FD0)); FDL:=REF(L,BARSLAST(FD0)); FDH1:=REF(H,BARSLAST(FD0)+1); FDL1:=REF(L,BARSLAST(FD0)+1); FDH2:=REF(H,BARSLAST(FD0)+2); FDL2:=REF(L,BARSLAST(FD0)+2); FDJ0:=REF(J0,BARSLAST(FD0)); FGZH:=IF(FGL<FGL1,FGH2,FGH1); FGZL:=IF(FGL<FGL1,FGL2,FGL1); FDZH:=IF(FDH>FDH1,FDH2,FDH1); FDZL:=IF(FDH>FDH1,FDL2,FDL1); FG1:=IF(((FGL>FDH AND FGH>FDZH) OR (FGH>FDH1 AND FDH1>FDH AND FDH>FDH2)),FG0,FG0 AND FGJ0>FDH AND FGH>FDZH); FD1:=IF(((FDH<FGL AND FDL<FGZL) OR (FDL<FGL1 AND FGL1<FGL AND FDL<FGL2)),FD0,FD0 AND FDJ0<FGL AND FDL<FGZL); FG2:=FG1 AND H>=HHV(H,BARSLAST(FD1)); FD2:=FD1 AND L<=LLV(L,BARSLAST(FG1)); FG:=FG2 AND KDJ.K>40;FD:=FD2 AND KDJ.K<60; BK:=IF((FGL1>=FGL AND FG0) OR (FDH1<=FDH AND FD0),4,3); G1:=FG AND BARSLAST(FD)>BK; D1:=FD AND BARSLAST(FG)>BK; G2:=G1 AND H>=HHV(H,BARSLAST(D1)); D2:=D1 AND L<=LLV(L,BARSLAST(G1)); G3:=G2 OR (FG0 AND KDJ.J>100); D3:=D2 OR (FD0 AND KDJ.J<0); G4:=G3 OR (FG0 AND REF(H,BARSLAST(FG0))>REF(H,BARSLAST(G2)) AND BARSLAST(D2)>BARSLAST(G2)); D4:=D3 OR (FD0 AND REF(L,BARSLAST(FD0))<REF(L,BARSLAST(D2)) AND BARSLAST(G2)>BARSLAST(D2)); G5:=G4 AND H=HHV(H,BARSLAST(D4)); D5:=D4 AND L=LLV(L,BARSLAST(G4)); GPB:=IF(G4,H,DRAWNULL),CIRCLEDOT,COLORYELLOW; DPB:=IF(D4,L,DRAWNULL),CIRCLEDOT,COLORYELLOW; NN:=G5;UU:=D5; DRAWLINE(UU,L,NN, H,0),COLORYELLOW,LINETHICK2; DRAWLINE(NN,H,UU, L,0),COLORYELLOW,LINETHICK2; {涨停板} TB:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(TB>7,O,C,2.5,0),COLORLIMAGENTA; STICKLINE(TB<-9.9,O,C,2.5,0),COLOR1D7300; |