以下是操盘主图源码倍增量副图

操盘主图 源码
 

NN:=120;

下档线:=(((CLOSE – LLV(LOW,13)) / (HHV(HIGH,13) – LLV(LOW,13))) * 100);

RRRSV:=SMA(下档线,3,1);

KKK:=SMA(RRRSV,3,1);

DDDDD:=((3 * RRRSV) – (2 * KKK));

JJ12:=(((CLOSE – LLV(LOW,55)) / (HHV(HIGH,55) – LLV(LOW,55))) * 100);

RSV24:=SMA(JJ12,3,1);

K24:=SMA(RSV24,3,1);

D24:=((3 * RSV24) – (2 * K24));

压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF;

底部:=LLV(HIGH,30),COLOR00FF00;

压力位:=IF(ISLASTBAR,压力2,DRAWNULL),NODRAW;

底部位:=IF(ISLASTBAR,底部,DRAWNULL),NODRAW;

底0:=CONST(底部);

JRH:=HHV(C,2);

JRL:=LLV(C,2);

MA3:=MA(CLOSE,3);

YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;

R01:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));

R02:=(REF(R01,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R03:=(REF(R02,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R04:=(REF(R03,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R05:=(REF(R04,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R06:=(REF(R05,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R07:=(REF(R06,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R08:=(REF(R07,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R09:=(REF(R08,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

RA:=(REF(R09,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));

RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R01;

R1A:=((REF(R01 OR R02 OR R03 OR R04 OR R05 OR R06 OR R07 OR R08 OR R09 OR RA OR RB OR RC,1)) AND RD);

VAR03:=IF(C<200 ,MA(COST(80),3),2500),NODRAW;

VAR04:=(((HIGH + LOW) + CLOSE) / 3);

VAR05:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),2330);

VAR06:=(VAR05 + ((VAR05 * 6) / 100));

短买春:=R19,NODRAW,COLOR00DD00;

秋离场:=R1A,NODRAW,COLOR2288EE;

红持股:=R01 OR R02 OR R03 OR R04 OR R05 OR R06 OR R07 OR R08 OR R09 OR RA OR RB OR RC,NODRAW,COLOR0000FF;

阴观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,NODRAW,COLOR999999;

急速超跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW;

离场:=IF(红持股,JRL,DRAWNULL);

明离场价:=离场,COLORFF99FF,NODRAW;

今离场价:=REF(离场,1)COLOR0000FF,NODRAW;

进:=IF(阴观望,JRH,DRAWNULL);

明进场价:=进,COLOR33AACC,NODRAW;

今进场价:=REF(明进场价,1),COLOR00FF00,NODRAW;

大雪:=MA((((HIGH + LOW) + CLOSE) / 3),8);

无痕:=MA((((HIGH + LOW) + CLOSE) / 3),21);

VAR111:=EMA(((OPEN + CLOSE) / 2),26);

VAR222:=IF(C<200 , MA(COST(30),3),2300),NODRAW;

天下有雪:=IF(C<200 ,MA(COST(50),3),2300);

严冬:=ISLASTBAR AND (VAR04 > 0.1),COLORFFFFFF,NODRAW;

早春:=ISLASTBAR AND (((((VAR04 < 天下有雪) AND (VAR04 > 无痕))

OR ((VAR04 < VAR05) AND (VAR04 > 无痕))) OR ((VAR04 > 无痕)

AND (VAR111 > 无痕)))),COLOR00FF00,NODRAW;

初夏:=ISLASTBAR AND ((((((VAR04 > 天下有雪) AND (VAR04 > VAR111))

AND (VAR04 > VAR05)) AND (VAR222 > REF(VAR222,1))) OR ((((VAR04 > VAR222)

AND (VAR04 > VAR111)) AND (VAR04 > VAR05)) AND (VAR222 > REF(VAR222,1))))),

COLOR0000FF,NODRAW;

深秋:=ISLASTBAR AND (((((VAR04 > VAR06) AND (VAR04 > VAR03)) AND (大雪 > 无痕))

AND (VAR111 > REF(VAR111,1)))),COLOR00FFFF,NODRAW;

SAAA:=(3*C+H+L+O)/6;

SVAR1:=(8*SAAA+7*REF(SAAA,1)+6*REF(SAAA,2)

+5*REF(SAAA,3)+4*REF(SAAA,4)+3*REF(SAAA,5)+2*REF(SAAA,6)+REF(SAAA,8))/36;

SVAR2:=(HHV(SVAR1,5)+HHV(SVAR1,10)+HHV(SVAR1,20))/3;

SVAR3:=(LLV(SVAR1,5)+LLV(SVAR1,10)+LLV(SVAR1,20))/3;

SVAR4:=(HHV(SVAR2,5)+HHV(SVAR2,10)+HHV(SVAR2,20))/3;

SVAR5:=(LLV(SVAR3,5)+LLV(SVAR3,10)+LLV(SVAR3,20))/3;

SVAR6:=(LLV(SVAR1,2)+LLV(SVAR1,4)+LLV(SVAR1,6))/3;

Q1:=CONST(IF(短买春,0,IF(秋离场,150,IF(红持股,200,IF(急速超跌关注,150,100))))),NODRAW;

Q2:=CONST(IF(短买春,80,IF(秋离场,100,IF(红持股,0,IF(急速超跌关注,150,100))))),NODRAW;

Q3:=CONST(IF(短买春,0,IF(秋离场,20,IF(红持股,70,IF(急速超跌关注,150,100))))),NODRAW;

DRAWGBK(C>0,RGB(Q1,Q2,Q3),RGB(0,50,50),0,’ ‘,0);

DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK),COLORYELLOW;

生命线30日:EMA(C,30),COLORYELLOW,LINETHICK4;

红升:IF(生命线30日>REF(生命线30日,1),生命线30日,DRAWNULL),COLORRED,LINETHICK4;

绿降:IF(生命线30日<REF(生命线30日,1),生命线30日,DRAWNULL),COLOR009300,LINETHICK4;

趋势55日线:EMA(C,55),COLORYELLOW,LINETHICK1,NODRAW;

红升4:IF(趋势55日线>REF(趋势55日线,1),趋势55日线,DRAWNULL),COLOR0080FF,LINETHICK1;

绿降4:IF(趋势55日线<REF(趋势55日线,1),趋势55日线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1;

半年线:EMA(C,120),COLORYELLOW,LINETHICK1,NODRAW;

半年红升:IF(半年线>REF(半年线,1),半年线,DRAWNULL),COLORFFFFFF,LINETHICK1;

半年绿降:IF(半年线<REF(半年线,1),半年线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1;

年线:EMA(C,250),COLORYELLOW,LINETHICK1,NODRAW;

年红升:IF(年线>REF(年线,1),年线,DRAWNULL),COLOR8000FF,LINETHICK1;

年绿降:IF(年线<REF(年线,1),年线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1;

R1:=(C+L+H)/3;

R2:=EMA(R1,6);

R3:=EMA(R2,5);

N:=5;

M1:=6;

M2:=6;

M3:=8;

R:=IF(DATE<1910612,1,0);

EE:=(H+MAX(C,O))/2;

EE1:=MA(EE,3);

EE2:=(L+MIN(C,O))/2;

EE3:=MA(EE2,3);

超短生命线:MA(EE,3),COLORWHITE;

红升1:IF(超短生命线>REF(超短生命线,1),超短生命线,DRAWNULL),COLORRED,LINETHICK1;

绿降1:IF(超短生命线<REF(超短生命线,1),超短生命线,DRAWNULL),COLORFFFF00,LINETHICK1,DOTLINE;

FF:=(H+L+C+O)/4,COLORWHITE;

FF1:=MA(FF,3),COLORGREEN;

FF3:=REF((C+O)/2,1)>REF((C+O)/2,2) AND REF(MIN(C,O),1)>REF(MAX(C,O),2);

实际乖离:=(MAX(FF,FF1)-MIN(FF,FF1))/MIN(FF,FF1)*100,LINETHICK;

FF4:=(((FF1-(REF(FF1,1)-FF1))-L)/L)*100;

FF5:=(((EE1+(EE1-REF(EE1,1)))-L)/L)*100;

FF6:=FF1-(REF(FF1,1)-FF1);

FF7:=EE1+(EE1-REF(EE1,1));

期望获利率:=IF(FF3,FF5,FF4),LINETHICK;

YY1:=REF(EVERY(C>=O,4),1) AND REF(EVERY((C+O)/2>FF1,4),1) AND (C+O)/2<FF1;

YY2:=NOT(YY1) AND (FF1-O)/O*1000>5 AND O<REF(MIN(C,O),1);

A:=SMA(L,4,3);

B:=SMA(H,4,3);

BB:=SMA(MIN(C,O),4,3);

BB1:=REF(L,1)-HHV((MAX(REF(L,2),REF(L,1))-MIN(REF(L,2),REF(L,1))),2);

BB2:=REF((C+O)/2,1)>REF((C+O)/2,2);

BB3:=L<=BB1+BB1*0.01 AND O>REF(O,2) AND O>=REF(L,3) AND COUNT(C>O,7)>3;

BB6:=(BB1-L)/L*100;

BB7:=(REF(L,1)-BB1)/BB1*100;

A1:=(A-L)/L>N/1000 ;

A8:=A1;

A9:=(REF(H,1)-O)/O*100-(REF(MAX(C,O),2)-REF(MAX(C,O),1))/REF(MAX(C,O),1)*100;

A10:=IF(BB2,BB6,A9);

BB4:=BB6+A10>2;

BB5:=IF(BB2,BB3,BB4) AND 期望获利率>2;

D5:=R AND A8 AND BB5;

STICKLINE(D5,A*0.995,A*0.992,4,0)COLORYELLOW;

DRAWICON(R AND (REF((D5),1)) AND (L<REF((L/0.995),1)),L*0.97,11);

STICKLINE(C>=O,C,O,3.4,0),COLOR0000AA;

STICKLINE(C>=O,C,O,3.0,0),COLOR0000BB ;

STICKLINE(C>=O,C,O,2.4,0),COLOR0000CC;

STICKLINE(C>=O,C,O,2.0,0),COLOR0000DD ;

STICKLINE(C>=O,C,O,1.6,0),COLOR0000EE;

STICKLINE(C>=O,C,O,1.2,0),COLOR0000FF;

STICKLINE(C>=O,C,O,0.6,0),COLOR0000FF;

STICKLINE(C>=O,H,L,0,0),COLORRED;

STICKLINE(C<=O,C,O,3.4,0),COLORAAAA00;

STICKLINE(C<=O,C,O,3.0,0),COLORBBBB00;

STICKLINE(C<=O,C,O,2.4,0),COLORCCCC00;

STICKLINE(C<=O,C,O,2.0,0),COLORDDDD00;

STICKLINE(C<=O,C,O,1.6,0),COLOREEEE00;

STICKLINE(C<=O,C,O,1.2,0),COLORFFFF00;

STICKLINE(C<=O,C,O,0.6,0),COLORFFFF00;

STICKLINE(C<=O,H,L,0,0),COLORFFFF00;

DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,’BJ1′,0);

{======================================================}

范围高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;

引差:=REF(C,1)-LOW,LINETHICK1,NODRAW;

引跌幅:IF((REF(C,1)-LOW)/REF(C,1)*100>0,(REF(C,1)-LOW)/REF(C,1)*100,0),LINETHICK1,NODRAW;

三日均跌:MA(引跌幅,3),COLORWHITE,NODRAW;

今最高:HIGH,LINETHICK1,COLORRED,NODRAW;

今最低:LOW,LINETHICK1,COLORGREEN,NODRAW;

Z0T:=C/REF(C,1)>1.097;

XH:=FILTER(Z0T,13);

BH:=BARSLAST(Z0T);

CZ:=REF(H,BH)-REF(L,BH);

STICKLINE(Z0T,REF(O,BH),REF(C,BH),5,0),COLORYELLOW;

DRAWTEXT(Z0T,L*0.98,’★涨停‘),COLORFFFFFF;

 AAA:=CONST(HHV(H,50));PL5:=HHV(H,45);

F:=100*(C-REF(C,1))/REF(C,1);

博尔:=IF(C<REF(O,1) AND F<0,1,0);

P1:=博尔;

量化:=IF(C<REF(O,2) AND F<0,1,0);

P2:=量化;

STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,3,0),COLORFF09FF;

ME2:=EMA(CLOSE,6);

五天:=EXPMA(CLOSE,5),COLORRED;

短线:=EMA(ME2,11),COLORGREEN; LJL07:=(3*C+L+O+H)/6;

牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORRED;

熊线:=MA(牛线,5),COLORYELLOW,LINETHICK4,POINTDOT;

持股:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE;

{趋势}

赚了:=IF(EMA(CLOSE,3)>超短线,超短线,DRAWNULL),COLORRED;

持股角度:=ATAN((持股/REF(持股,1)-1)*100)*180/3.1416,COLORRED,NODRAW;

月线:=EMA(持股,30),COLORYELLOW,DOTLINE;

双月线:=EMA(持股,60),COLORCYAN,DOTLINE;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“DMI.PDI”>”DMI.MDI”) AND UPNDAY(“DMI.ADXR”,1) AND (“DMI.ADX”>”DMI.ADXR”),0.460,0.26,0,’DMI 火箭升空’),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“DMI.PDI”<“DMI.MDI”) AND UPNDAY(“DMI.ADXR”,1) AND (“DMI.ADX”>”DMI.ADXR”),0.460,0.26,0,’DMI 空中炸弹’),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“DMI.PDI”>”DMI.MDI”),0.460,0.21,0,’DMI 多头趋势’),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“DMI.PDI”<“DMI.MDI”),0.460,0.21,0,’DMI 空头趋势’),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(“KDJ.J”,”KDJ.K”),0.460,0.31,0,’K D J 金 叉’),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(“KDJ.K”,”KDJ.J”),0.460,0.31,0,’K D J 死 叉’),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“KDJ.J”>”KDJ.K”),0.460,0.36,0,’K D J 多头趋势’),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“KDJ.J”<“KDJ.K”),0.460,0.36,0,’K D J 空头趋势’),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“MACD.DIF”>”MACD.DEA”) AND “MACD.MACD”>0,0.460,0.41,0,’MACD 中线看多’),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“MACD.DIF”<“MACD.DEA”) AND “MACD.MACD”<0,0.460,0.41,0,’MACD 中线看空’),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“MACD.DIF”>”MACD.DEA”),0.460,0.46,0,’MACD 多头趋势’),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“MACD.DIF”<“MACD.DEA”),0.460,0.46,0,’MACD 空头趋势’),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(“MACD.DIF”,”MACD.DEA”),0.460,0.51,0,’MACD 金 叉’),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(“MACD.DEA”,”MACD.DIF”),0.460,0.51,0,’MACD 死 叉’),COLORGREEN;

上涨:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 上涨,0.460,0.15,0,’上 涨 趋 势’),COLORFF00FF;

短线上涨:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

短线上涨0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

短线上涨1:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线上涨 OR 短线上涨0 OR 短线上涨1),0.460,0.15,0,’短 线 上 涨’),COLOR8080FF;

短线回调:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线回调0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线回调 OR 短线回调0),0.460,0.15,0,’短 线 回 调’),COLORYELLOW;

短线看空:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线看空0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线空仓:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线空仓0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线空仓 OR 短线空仓0 OR 短线看空 OR 短线看空0),0.460,0.15,0,’短 线 空 仓’),COLORYELLOW;

短线震荡:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线震荡0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

短线震荡1:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

注意该股:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线震荡 OR 短线震荡0 OR 短线震荡1 OR 注意该股),0.460,0.15,0,’短 线 震 荡’),COLORYELLOW;

短线反弹:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

短线反弹0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线反弹 OR 短线反弹0),0.460,0.15,0,’短 线 反 弹’),COLORYELLOW;

DRAWTEXT_FIX(CURRBARSCOUNT=1 ,0.360,0.09,0,’★—今 日 操 作 提 示—★’)COLORFFFFFF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“MACD.MACD”>0) AND (CROSS(“MACD.DIF”,”MACD.DEA”) OR CROSS(持股,超短线)) AND UPNDAY(超短线,1),0.55,0.09,0,’★今日决策:中 线 全 仓 买 入’),COLOR95B8FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (“MACD.MACD”<0) AND (CROSS(“MACD.DEA”,”MACD.DIF”) OR CROSS(超短线,持股)) AND DOWNNDAY(超短线,1),0.55,0.09,0,’★今日决策:中 线 空 仓’),COLOR95B8FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1),0.55,0.09,0,’★今日决策:短 线 空(减) 仓【关注:阴 线 买、V 转、止 跌 买信号】’),COLOR95B8FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1),0.55,0.09,0,’★今日决策:短 线 买 入 30 %’),COLOR95B8FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(超短线,1) AND UPNDAY(持股,1),0.55,0.09,0,’★今日决策:短 线 买 入 60 %’),COLOR95B8FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1),0.55,0.09,0,’★今日决策:短 线 震 荡 看 看 再 说【关注:阴 线 买 信 号】’),COLOR95B8FF;

V转: MA(C,5)<MA(C,10)  AND V=LLV(V,10) AND C>O;

三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);

三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3);

EXITLONG:CROSS(CROSS(三日最高,C),0.6);

DRAWTEXT(V转,L*0.99,’   V ‘),COLORFFFFFF;

DRAWICON(V转,LOW*0.99,23);

DRAWICON(EXITLONG,H*1.00,35);

止跌:=(REF(EVERY(C<O,2),1) AND C>O);

 MTM:=C-REF(C,1);

 DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

买0:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));

止跌买:止跌 AND 买0 ;

DRAWTEXT(止跌买,L*0.99,’   ZD’),COLORFFFFFF;

DRAWICON(止跌买,LOW*0.99,13);

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

VAR3:=EMA(VAR2,10);

VAR4:=LLV(LOW,33);

VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);

主力进:IF(VAR5>REF(VAR5,1),VAR5,0),STICK,COLOR505050;

DRAWTEXT(主力进,L*0.99,’   主力进’),COLORFFFFFF;

DRAWICON(主力进,LOW*0.99,13);

短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));

中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));

中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));

长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));

底:短期<20 AND 长期>70;

DRAWTEXT(底,L*0.99,’   针’),COLORFFFFFF;

DRAWICON(底,LOW*0.99,5);

 

倍增量 副图源码
 

NN:=120;

下档线:=(((CLOSE – LLV(LOW,13)) / (HHV(HIGH,13) – LLV(LOW,13))) * 100);

RRRSV:=SMA(下档线,3,1);

KKK:=SMA(RRRSV,3,1);

DDDDD:=((3 * RRRSV) – (2 * KKK));

JJ12:=(((CLOSE – LLV(LOW,55)) / (HHV(HIGH,55) – LLV(LOW,55))) * 100);

RSV24:=SMA(JJ12,3,1);

K24:=SMA(RSV24,3,1);

D24:=((3 * RSV24) – (2 * K24));

压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF;

底部:=LLV(HIGH,30),COLOR00FF00;

压力位:=IF(ISLASTBAR,压力2,DRAWNULL),NODRAW;

底部位:=IF(ISLASTBAR,底部,DRAWNULL),NODRAW;

底:=CONST(底部);

JRH:=HHV(C,2);

JRL:=LLV(C,2);

MA3:=MA(CLOSE,3);

YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;

R1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));

R2:=(REF(R1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R3:=(REF(R2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R4:=(REF(R3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R5:=(REF(R4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R6:=(REF(R5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R7:=(REF(R6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R8:=(REF(R7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R9:=(REF(R8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

RA:=(REF(R9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));

RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));

R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));

R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R1;

R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);

VAR3:=IF(C<200 ,MA(COST(80),3),2500),NODRAW;

VAR4:=(((HIGH + LOW) + CLOSE) / 3);

VAR5:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),2330);

VAR6:=(VAR5 + ((VAR5 * 6) / 100));

短买春:=R19,NODRAW,COLOR00DD00;

秋离场:=R1A,NODRAW,COLOR2288EE;

红持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,NODRAW,COLOR0000FF;

阴观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,NODRAW,COLOR999999;

急速超跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW;

离场:=IF(红持股,JRL,DRAWNULL);

明离场价:=离场,COLORFF99FF,NODRAW;

今离场价:=REF(离场,1)COLOR0000FF,NODRAW;

进:=IF(阴观望,JRH,DRAWNULL);

明进场价:=进,COLOR33AACC,NODRAW;

今进场价:=REF(明进场价,1),COLOR00FF00,NODRAW;

大雪:=MA((((HIGH + LOW) + CLOSE) / 3),8);

无痕:=MA((((HIGH + LOW) + CLOSE) / 3),21);

VAR111:=EMA(((OPEN + CLOSE) / 2),26);

VAR222:=IF(C<200 , MA(COST(30),3),2300),NODRAW;

天下有雪:=IF(C<200 ,MA(COST(50),3),2300);

严冬:=ISLASTBAR AND (VAR4 > 0.1),COLORFFFFFF,NODRAW;

早春:=ISLASTBAR AND (((((VAR4 < 天下有雪) AND (VAR4 > 无痕))

OR ((VAR4 < VAR5) AND (VAR4 > 无痕))) OR ((VAR4 > 无痕)

AND (VAR111 > 无痕)))),COLOR00FF00,NODRAW;

初夏:=ISLASTBAR AND ((((((VAR4 > 天下有雪) AND (VAR4 > VAR111))

AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,1))) OR ((((VAR4 > VAR222)

AND (VAR4 > VAR111)) AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,1))))),

COLOR0000FF,NODRAW;

深秋:=ISLASTBAR AND (((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕))

AND (VAR111 > REF(VAR111,1)))),COLOR00FFFF,NODRAW;

SAAA:=(3*C+H+L+O)/6;

SVAR1:=(8*SAAA+7*REF(SAAA,1)+6*REF(SAAA,2)

+5*REF(SAAA,3)+4*REF(SAAA,4)+3*REF(SAAA,5)+2*REF(SAAA,6)+REF(SAAA,8))/36;

SVAR2:=(HHV(SVAR1,5)+HHV(SVAR1,10)+HHV(SVAR1,20))/3;

SVAR3:=(LLV(SVAR1,5)+LLV(SVAR1,10)+LLV(SVAR1,20))/3;

SVAR4:=(HHV(SVAR2,5)+HHV(SVAR2,10)+HHV(SVAR2,20))/3;

SVAR5:=(LLV(SVAR3,5)+LLV(SVAR3,10)+LLV(SVAR3,20))/3;

SVAR6:=(LLV(SVAR1,2)+LLV(SVAR1,4)+LLV(SVAR1,6))/3;

Q1:=CONST(IF(短买春,0,IF(秋离场,150,IF(红持股,200,IF(急速超跌关注,150,100))))),NODRAW;

Q2:=CONST(IF(短买春,80,IF(秋离场,100,IF(红持股,0,IF(急速超跌关注,150,100))))),NODRAW;

Q3:=CONST(IF(短买春,0,IF(秋离场,20,IF(红持股,70,IF(急速超跌关注,150,100))))),NODRAW;

DRAWGBK(C>0,RGB(Q1,Q2,Q3),RGB(0,50,50),0,’ ‘,0);

今日:VOL,VOLSTICK,LINETHICK1;

MA5:MA(VOL,5)COLOR00FFFF,LINETHICK1;

MA10:MA(VOL,10)COLORFF00FF,LINETHICK1;

倍量:(VOL/REF(VOL,1)>2 AND COUNT(CLOSE>OPEN,1))

OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2),COLORFF00FF,LINETHICK1;

STICKLINE(倍量,0,V,3,0),COLORFF00FF,LINETHICK1;

三十地:LLV(VOL,30)=VOL,COLORFFDE00,LINETHICK1;

三十地量:STICKLINE(LLV(VOL,30)=VOL,0,V,3,0),COLOR003300,LINETHICK1;

百日地量:LLV(VOL,100)=VOL,COLORWHITE,LINETHICK1;

STICKLINE(百日地量,0,V,3,0),COLORWHITE,LINETHICK1;

倍缩量:VOL/REF(VOL,1)<0.5,COLORYELLOW,LINETHICK1;

STICKLINE(倍缩量,0,V,3,0),COLORYELLOW,LINETHICK1;

缩量涨:COUNT(C>REF(C,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2,COLORGREEN,LINETHICK1;

STICKLINE(缩量涨,0,V,3,0),COLORGREEN,LINETHICK1;

黑阳: IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),0.5,0),COLORBLUE,LINETHICK1;

STICKLINE(黑阳,0,V,3,0),COLORBLUE,LINETHICK1;

红阳:IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),0.5,0),COLORRED,LINETHICK1;

STICKLINE(红阳,0,V,3,0),COLORRED,LINETHICK1;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。