说一千道一万,你必须找准上下车的时间,上晚了,下早了,该下根本就没下车,庄家就会说【拿钱来】,你的玩命钱就会越来越少,这可是炒股的大忌,我们必须下大力气,那叫玩命,不下功夫行吗,
告诉你一个公开的秘密,理想论坛赫赫有名,我们发源码,不发源码,庄家也比我们明白的多,我们说【看透开盘30分】人家偏错过这30分,叫你公式不灵光,今天(01.12)我就领教庄家的厉害了,第34分再开始拉升,
闲话少叙BOLL是做波段的好东东,我们现在不给他配【MACD】因为我不想一条道跑到黑,多来几个叫他们无奈我何,
input:n(26,5,300),p(2,0.1,10);
{1.MA13}
BBI:=(2*c+H+L)/4;
MA13:MEMA(BBI,13) ,COLORFF9900,DOTLINE;
{2.BOLL}
MID : MA(BBI,N),DOTLINE;
UPPER: MID + P*STD(BBI,N),DOTLINE;
LOWER: MID - P*STD(BBI,N),DOTLINE;
{3.持股}
X:=BARSLAST(DISPSTATUS=1)+1;
E:=llvall(llv(l,x))*0.95;
B:=SMA((BBI-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43)),5,1)*15;
持股:=EMA(EMA(B,5),5);;
CG:=(持股-REF(持股,1));
STICKLINE(CG>=0,E+CG,E,18,0),Color0000FF,LAYER0;
STICKLINE(CG<0,E+CG,E,18,0),ColorFF9900,LAYER0;
DRAWGBK(CG>0, STRIP(RGB(0,0,255),RGB(140,0,80),0)),LAYER3;
{4.画线}
VERTLINE(CROSS(REF(MA13,1),MA13) AND CG>0 and MA13>MID,2),LAYER0,COLOR00FFff;
PARTLINE(UPPER ,UPPER and CG>0,rgb(255,120,0)),LINETHICK3,LAYER0;
PARTLINE(MID ,MID and CG>0,rgb(0,255,0)),LINETHICK3,LAYER0;
PARTLINE(MA13 ,MA13 and CG>0,rgb(255,255,0)),LINETHICK3,LAYER0;
{5.别坐过山车}
PK:=CROSS(0,CG) AND CG<0;
DRAWTEXT(PK,LOWER*0.999,'●'),LAYER3,ALIGN1,COLOR0000FF,LINETHICK2;
DRAWTEXT(PK,LOWER*0.981,'【别】'),LAYER0,ALIGN1,COLOR00FFFF,LINETHICK1;
DRAWTEXT(PK,LOWER*0.963,'【坐】'),LAYER0,ALIGN1,COLOR00FFCC,LINETHICK1;
DRAWTEXT(PK,LOWER*0.946,'【过】'),LAYER0,ALIGN1,COLOR00FFAA,LINETHICK1;
DRAWTEXT(PK,LOWER*0.929,'【山】'),LAYER0,ALIGN1,COLOR00FF77,LINETHICK1;
DRAWTEXT(PK,LOWER*0.912,'【车】'),LAYER0,ALIGN1,COLOR00FF00,LINETHICK1;
大家要的副图源码-----
{0波段绝品}
VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2B:=SMA(VAR1B,9,1)+100;
VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4B:=SMA(VAR3B,3,1);
VAR5B:=SMA(VAR4B,3,1)+100;
VAR6B:=VAR5B-VAR2B;
趋势: EMA(IF(VAR6B>45,VAR6B-45,0),5),COLOR00FFFF,LINETHICK0;
PARTLINE(趋势,(趋势>REF(趋势,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYER0;
趋势S:=filter(CROSS(REF(趋势,1),趋势),5);
趋势B:=filter(CROSS(趋势,REF(趋势,1)),5);
趋势C:=filter(趋势S OR 趋势B,3);
drawbmp(趋势S AND 趋势C ,趋势*1.17,'小熊.bmp'),align1,valign0,LAYER3;
drawbmp(趋势B AND 趋势C AND 趋势<20,趋势*2,'小牛.bmp'),align1,valign0,LAYER3;
VERTLINE(趋势S AND 趋势C ,2),LAYER0,COLORFF9900;
VERTLINE(趋势B AND 趋势C AND 趋势<20,2),LAYER0,COLOR0099FF;
FILLRGN(-4.5,2,-4.5<2,RGB(0,60,0)),LAYER7;
BBI:=(2*c+H+L)/4;
B:=SMA((BBI-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43)),5,1)*100;
持股:EMA(EMA(B,5),5),COLOR44ffff,DOTLINE;;
PARTLINE(持股,持股>ref(持股,1),rgb(255,100,0)),LINETHICK3,LAYER0;
DRAWGBK(持股>ref(持股,1),STRIP(RGB(0,0,255),RGB(160,0,80),0)),LAYER0;