嘉股配资炒股平台_股票配资公司优选_网上股票配资论坛

网上炒股配资网 文华财经突破买点智能K线主图


发布日期:2024-08-24 00:01    点击次数:177

网上炒股配资网 文华财经突破买点智能K线主图

图片

DRAWKLINE(0.75,COLORBLACK,1,COLORBLACK,1);

T:=DATE>00122&&DATE<301203;

JE:=VOL*AVPRICE*UNIT;

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

A1:=EMA(J1,9);

B1:=REF(A1,1);

////////////////////

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

A2:=EMA(J2,4);//4

B2:=REF(A2,1);

////////////////////

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

A3:=EMA(J3,26);

B3:=REF(A3,1);

AA:=CROSS(A2>B2,0.5);

BB:=CROSS(A2<B2,0.5);

TT:=BACKSET(ISLASTBAR,MAX(BARSLAST(AA),BARSLAST(BB))+10000000);

//TT:=BACKSET(ISLASTBAR,MAX(BARSLAST(AA),BARSLAST(BB))+1);//显示K线时间条件

DRAWCOLORKLINE(T&&A2>B2&&C>=O AND TT,COLORRED,0);

DRAWCOLORKLINE(T&&A2>B2&&C<O AND TT,RGB(0,128,0),1);

DRAWCOLORKLINE(T&&A2<B2&&C<O AND TT,RGB(0,128,0),0);

DRAWCOLORKLINE(T&&A2<B2&&C>=O AND TT,COLORRED,1);

DRAWNUMBER(T&&A2>B2 AND TT,L,BARSLASTCOUNT(A2>B2),0,COLORRED),FONTSIZE18网上炒股配资网,VALIGN0;

DRAWNUMBER(T&&A2<B2 AND TT,H,BARSLASTCOUNT(A2<B2),0,RGB(0,128,0)),FONTSIZE18;

//智能变色K线

DRAWCOLORKLINE(T&&A2>B2&&C>=O&&BACKSET(ISLASTBAR&&A2>B2,BARSLASTCOUNT(A2>B2)),COLORRED,0);

DRAWCOLORKLINE(T&&A2>B2&&C<O&&BACKSET(ISLASTBAR&&A2>B2,BARSLASTCOUNT(A2>B2)),RGB(0,128,0),1);

DRAWCOLORKLINE(T&&A2<B2&&C<O&&BACKSET(ISLASTBAR&&A2<B2,BARSLASTCOUNT(A2<B2)),RGB(0,128,0),0);

DRAWCOLORKLINE(T&&A2<B2&&C>=O&&BACKSET(ISLASTBAR&&A2<B2,BARSLASTCOUNT(A2<B2)),COLORRED,1);

DRAWNUMBER(T&&A2>B2&&BACKSET(ISLASTBAR&&A2>B2,BARSLASTCOUNT(T&&A2>B2)),L,BARSLASTCOUNT(T&&A2>B2),0,COLORRED),FONTSIZE18,VALIGN0;//上涨数字序号

DRAWNUMBER(T&&A2<B2&&BACKSET(ISLASTBAR&&A2<B2,BARSLASTCOUNT(T&&A2<B2)),H,BARSLASTCOUNT(T&&A2<B2),0,RGB(0,128,0)),FONTSIZE18;//下跌数字序号

//DRAWTEXT(BACKSET(ISLASTBAR&&A2<B2,BARSLASTCOUNT(T&&A2<B2))&&BARSLASTCOUNT(T&&A2<B2)=1&&ABS(C-O)*100 /O>0.7&&ISDOWN,H+40*MINPRICE,'高'),FONTSIZE18,RGB(0,120,0);

//DRAWTEXT(BACKSET(ISLASTBAR&&A2>B2,BARSLASTCOUNT(T&&A2>B2))&&BARSLASTCOUNT(T&&A2>B2)=1&&ABS(C-O)*100 /O>0.7&&ISUP,L-40*MINPRICE,'低'),FONTSIZE18,COLORRED;

//持仓线+止损线

P1:=A2>B2&&BACKSET(ISLASTBAR&&A2>B2,BARSLASTCOUNT(T&&A2>B2));

P2:=A2<B2&&BACKSET(ISLASTBAR&&A2<B2,BARSLASTCOUNT(T&&A2<B2));

T1:VALUEWHEN(P1&&T&&H=HHV(H,BARSLASTCOUNT(T&&A2>B2)),REF(EMA(C,4),1)),COLORRED,LINETHICK1,NOTEXT,NODRAW;//多头持仓取点连线//

T2:VALUEWHEN(P2&&T&&L=LLV(L,BARSLASTCOUNT(T&&A2<B2)),REF(EMA(C,4),1)),RGB(0,120,0),LINETHICK1,NOTEXT,NODRAW;//空头持仓取点连线

M:=DUALVOLUME('M');

N:=DUALVOLUME('N');

//DRAWCOLUMNCHART(N,SCALE>=0.5,M>=0);

DRAWSHIFTNUMBER(ISLASTBAR,T1,T1,0,COLORRED,1,3),FONTSIZE30,VALIGN0;//多头防守画线标注

DRAWSHIFTNUMBER(ISLASTBAR,T2,T2,0,RGB(0,120,0),1,3),FONTSIZE30;//空头防守画线标注

D1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20); 

K1:=C<MA(C,5) AND C<MA(C,10) AND C<MA(C,20); 

HJ1:=BARSLASTCOUNT(A2>B2);

DRAWTEXT(HJ1=1&&D1,H*1.0014,'多'),FONTSIZE18,COLORRED;

HJ11:=BARSLASTCOUNT(A2<B2);

DRAWTEXT(HJ11=1&&K1,L*0.996,'空'),FONTSIZE18,COLORCYAN;

HJ2:=BARSLASTCOUNT(A2>B2);

DRAWTEXT(HJ2=2&&D1,H*1.0014,'多'),FONTSIZE18,COLORRED;

HJ22:=BARSLASTCOUNT(A2<B2);

DRAWTEXT(HJ22=2&&K1,L*0.996,'空'),FONTSIZE18,COLORCYAN;

HJ3:=BARSLASTCOUNT(A2>B2);

DRAWTEXT(HJ3=3&&D1,H*1.0014,'多'),FONTSIZE18,COLORRED;

HJ33:=BARSLASTCOUNT(A2<B2);

DRAWTEXT(HJ33=3&&K1,L*0.996,'空'),FONTSIZE18,COLORCYAN;

HJ4:=BARSLASTCOUNT(A2>B2);

DRAWTEXT(HJ4=4&&D1,H*1.0014,'多'),FONTSIZE18,COLORRED;

HJ44:=BARSLASTCOUNT(A2<B2);

DRAWTEXT(HJ44=4&&K1,L*0.996,'空'),FONTSIZE18,COLORCYAN;

HJ5:=BARSLASTCOUNT(A2>B2);

DRAWTEXT(HJ5=5&&D1,H*1.0014,'多'),FONTSIZE18,COLORRED;

HJ55:=BARSLASTCOUNT(A2<B2);

DRAWTEXT(HJ55=5&&K1,L*0.996,'空'),FONTSIZE18,COLORCYAN;

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。