以下是飞狐决策系统副图指标源码和截图
飞狐黑马决策系统副图指标源码:
关键点位:(REF(H,1)+REF(L,1)+REF(C,1))/3,NODRAW,COLOR8080FF;
阻力3:REF(H,1)-2*((REF(L,1)-关键点位)),NODRAW;
阻力2:关键点位+(REF(H,1)-REF(L,1)),NODRAW;
阻力1:2*关键点位-REF(L,1),NODRAW;
支撑1:2*关键点位-REF(H,1),NODRAW;
支撑2:关键点位-(REF(H,1)-REF(L,1)),NODRAW,COLORFFFF00;
支撑3:REF(L,1)-2*(REF(H,1)-关键点位),NODRAW;
买线:=Ema(C,1);
卖线:=EMA(SLOPE(C,10)*10+C,20);
stICKLINE(买线 =卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;
STICKLINE(买线 卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;
DRAWKLINE(H,O,L,C);{红青}
STICKLINE(买线 =卖线,L,H,0,0),COLOR2F2FFF;
STICKLINE(买线 =卖线,C,O,3.1,0),COLOR000033;
STICKLINE(买线 =卖线,C,O,2.1,0),COLOR000099;
STICKLINE(买线 =卖线,C,O,1.5,0),COLOR0000CC;
STICKLINE(买线 =卖线,C,O,0.3,0),COLOR0000FF;{立体红颜色};
STICKLINE(买线 卖线,L,H,0,0),COLORFFFF00;
STICKLINE(买线 卖线,C,O,3.1,0),COLOR000000;
STICKLINE(买线 卖线,C,O,2.1,0),COLOR6A6A00;
STICKLINE(买线 卖线,C,O,1.5,0),COLORDDDD00;
STICKLINE(买线 卖线,C,O,0.3,0),COLORFFFF00;{立体青色};
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=1AND(".pdi" "DMI.mdi")ANDUPNDAY("DMI.ADXR",1)AND("DMI.ADX" "DMI.ADXR"),0.460,0.26,0,'DMI火箭升空'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("DMI.PDI" "DMI.MDI")ANDUPNDAY("DMI.ADXR",1)AND("DMI.ADX" "DMI.ADXR"),0.460,0.26,0,'DMI空中炸弹'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("DMI.PDI" "DMI.MDI"),0.460,0.21,0,'DMI多头趋势'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("DMI.PDI" "DMI.MDI"),0.460,0.21,0,'DMI空头趋势'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDcrOSS(".J","kdJ.K"),0.460,0.31,0,'KDJ'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDCROSS("KDJ.K","KDJ.J"),0.460,0.31,0,'KDJ死叉'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("KDJ.J" "KDJ.K"),0.460,0.36,0,'KDJ多头趋势'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("KDJ.J" "KDJ.K"),0.460,0.36,0,'KDJ空头趋势'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND(".DIF" "MacD.DEA")AND"MACD.MACD" 0,0.460,0.41,0,'MACD看多'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("MACD.DIF" "MACD.DEA")AND"MACD.MACD" 0,0.460,0.41,0,'MACD中线看空'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("MACD.DIF" "MACD.DEA"),0.460,0.46,0,'MACD多头趋势'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("MACD.DIF" "MACD.DEA"),0.460,0.46,0,'MACD空头趋势'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDCROSS("MACD.DIF","MACD.DEA"),0.460,0.51,0,'MACD金叉'),COLOR8080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDCROSS("MACD.DEA","MACD.DIF"),0.460,0.51,0,'MACD死叉'),COLORGREEN;
上涨:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDUPNDAY(月线,1)ANDUPNDAY(超短线,1)ANDUPNDAY(持股,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND上涨,0.460,0.15,0,'上涨趋势'),COLORFF00FF;
短线上涨:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDUPNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDUPNDAY(持股,1);
短线上涨0:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDUPNDAY(持股,1);
短线上涨1:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDUPNDAY(超短线,1)ANDUPNDAY(持股,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND(短线上涨OR短线上涨0OR短线上涨1),0.460,0.15,0,'短线上涨'),COLOR8080FF;
短线回调:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDUPNDAY(月线,1)ANDUPNDAY(超短线,1)ANDDOWNNDAY(持股,1);
短线回调0:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDUPNDAY(超短线,1)ANDDOWNNDAY(持股,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND(短线回调OR短线回调0),0.460,0.15,0,'短线回调'),COLORYELLOW;
短线看空:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDUPNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDDOWNNDAY(持股,1);
短线看空0:=CURRBARSCOUNT=1ANDUPNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDDOWNNDAY(持股,1);
短线空仓:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDDOWNNDAY(持股,1);
短线空仓0:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDUPNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDDOWNNDAY(持股,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND(短线空仓OR短线空仓0OR短线看空OR短线看空0),0.460,0.15,0,'短线空仓'),COLORYELLOW;
短线震荡:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDUPNDAY(月线,1)ANDUPNDAY(超短线,1)ANDDOWNNDAY(持股,1);
短线震荡0:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDUPNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDUPNDAY(持股,1);
短线震荡1:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDUPNDAY(超短线,1)ANDDOWNNDAY(持股,1);
注意该股:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDDOWNNDAY(超短线,1)ANDUPNDAY(持股,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND(短线震荡OR短线震荡0OR短线震荡1OR注意该股),0.460,0.15,0,'短线震荡'),COLORYELLOW;
短线反弹:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDDOWNNDAY(月线,1)ANDUPNDAY(超短线,1)ANDUPNDAY(持股,1);
短线反弹0:=CURRBARSCOUNT=1ANDDOWNNDAY(双月线,1)ANDUPNDAY(月线,1)ANDUPNDAY(超短线,1)ANDUPNDAY(持股,1);
DRAWTEXT_FIX(CURRBARSCOUNT=1AND(短线反弹OR短线反弹0),0.460,0.15,0,'短线反弹'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.360,0.09,0,'◆今日操作提示◆')COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("MACD.MACD" 0)AND(CROSS("MACD.DIF","MACD.DEA")ORCROSS(持股,超短线))ANDUPNDAY(超短线,1),0.55,0.09,0,'决策:中线全仓买入◆'),COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1AND("MACD.MACD" 0)AND(CROSS("MACD.DEA","MACD.DIF")ORCROSS(超短线,持股))ANDDOWNNDAY(超短线,1),0.55,0.09,0,'决策:中线空仓◆'),COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDDOWNNDAY(超短线,1)ANDDOWNNDAY(持股,1),0.55,0.09,0,'决策:短线空(减)仓◆'),COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDDOWNNDAY(超短线,1)ANDUPNDAY(持股,1),0.55,0.09,0,'决策:短线买入30%◆'),COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDUPNDAY(超短线,1)ANDUPNDAY(持股,1),0.55,0.09,0,'决策:短线买入60%◆'),COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1ANDUPNDAY(超短线,1)ANDDOWNNDAY(持股,1),0.55,0.09,0,'决策:短线震荡看看再说◆'),COLORFFFFFF;
操作线20日:EMA(C,20),DOTLINE,COLOR0000FF;
红升:IF(操作线20日 REF(操作线20日,1),操作线20日,DRAWNULL),COLOR0000FF,LINETHICK3;
绿降:IF(操作线20日 REF(操作线20日,1),操作线20日,DRAWNULL),DOTLINE,COLOR0000FF;
趋势线:EXPMA(C,5),DOTLINE,COLORYELLOW;
KK1:=趋势线 REF(趋势线,1);
IF(KK1,趋势线,DRAWNULL),DOTLINE,COLORYELLOW;
DD1:=趋势线 REF(趋势线,1);
IF(DD1,趋势线,DRAWNULL),COLOR00FFFF,LINETHICK2;
均价:=(3*C+H+L+O)/6;
VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+
4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;
VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
SZ1:=REF(VAR1,1)=REF(VAR2,1)ANDVAR1 VAR2ANDCLOSE VAR1;
SZ2:=VAR1 VAR2ANDVAR1 REF(VAR1,1)ANDVAR2 REF(VAR2,1)
ANDH/VAR1 1.1ANDL VAR2ANDCLOSE VAR1;
SZ3:=VAR1 VAR2ANDVAR1 REF(VAR1,1)ANDVAR2 =REF(VAR2,1)ANDH/VAR1
SZ4:=VAR1 VAR2ANDVAR1 REF(VAR1,1)ANDVAR2 REF(VAR2,1)
ANDCLOSE VAR2ANDCLOSE VAR1;
SZ5:=(VAR1 VAR2ANDVAR2 REF(VAR2,1)ANDVAR1 REF(VAR1,1)
ANDCLOSE VAR2)OR(VAR1 VAR2ANDVAR1 REF(VAR1,1)
ANDVAR2 REF(VAR2,1)ANDCLOSE VAR2);
SZ6:=REF(VAR1,1) REF(VAR2,1)ANDVAR1=VAR2ANDCLOSE VAR2;
XD1:=VAR1=VAR2ANDCLOSE VAR2OR(VAR1 REF(VAR1,1)ANDVAR2 REF(VAR2,1)
ANDREF(VAR1,1)=REF(VAR2,1)ANDCLOSE VAR2);
XD2:=VAR1=VAR2ANDCLOSE VAR1;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
饱和度:=IF(SAT 1,1,SAT)*100;
DRAWTEXT_FIX(BARSTATUS=2ANDSZ1,0.8,0.05,0,'调整结束短线介入'),COLOR00FFFF;
DRAWTEXT_FIX(BARSTATUS=2ANDSZ2,0.8,0.05,0,'上升通道走势良好'),COLOR00FFFF;
DRAWTEXT_FIX(BARSTATUS=2ANDSZ3,0.8,0.05,0,'股价偏离注意调整'),COLOR00FFFF;
DRAWTEXT_FIX(BARSTATUS=2ANDSZ4,0.8,0.05,0,'上升通道调整洗盘'),COLOR00FFFF;
DRAWTEXT_FIX(BARSTATUS=2ANDSZ5,0.8,0.05,0,'转向特征注意离场'),COLORFFFF00;
DRAWTEXT_FIX(BARSTATUS=2ANDSZ6,0.8,0.05,0,'通道改变坚决离场'),COLORFFFF00;
DRAWTEXT_FIX(BARSTATUS=2ANDXD1,0.8,0.05,0,'下跌通道只宜观望'),COLORFFFF00;
DRAWTEXT_FIX(BARSTATUS=2ANDXD2,0.8,0.05,0,'短期底部准备进入'),COLORYELLOW;
S:=C-REF(C,1);
DX:=100*EMA(EMA(S,6),6)/EMA(EMA(Abs(S),6),6);
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
YC:=REF(CLOSE,1);
止损价位:=(YC*1.0035*97+0.2)/99.65;
DRAWTEXT_FIX(C!=0,0.02,0.05,0,'☆==================☆'),COLORRED;
DRAWTEXT_FIX(C!=0,0.02,0.1,0,'操'),COLORFFFF00;
DRAWTEXT_FIX(C!=0,0.02,0.15,0,'盘'),COLORFFFF00;
DRAWTEXT_FIX(C!=0,0.02,0.2,0,'铁'),COLORFFFF00;
DRAWTEXT_FIX(C!=0,0.02,0.25,0,'律'),COLORFFFF00;
DRAWTEXT_FIX(C!=0,0.02,0.3,0,'☆==================☆'),COLORRED;
DRAWTEXT_FIX(C!=0,0.05,0.1,0,'五二零线.波段操作'),COLOR00FFFF;
DRAWTEXT_FIX(C!=0,0.05,0.15,0,'买入条件2:30以后'),COLOR00FFFF;
DRAWTEXT_FIX(C!=0,0.05,0.2,0,STRCAT('止损价位',STRCAT(CON2STR(止损价位,2),'元'))),COLOR00FFFF;
DRAWTEXT_FIX(C!=0,0.05,0.25,0,'线上工作.线下休息'),COLOR00FFFF;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*E-LOW;
明日支撑:=2*E-HIGH;
明日:=E+(HIGH-LOW);
明日:=E-(HIGH-LOW);
今日阻力:=REF(明日阻力,1);
今日支撑:=REF(明日支撑,1);
DRAWTEXT_FIX(C!=0,0.02,0.35,0,STRCAT('今日阻力:',STRCAT(CON2STR(今日阻力,2),'元'))),COLORFFFF00;
DRAWTEXT_FIX(C!=0,0.02,0.40,0,STRCAT('今日支撑:',STRCAT(CON2STR(今日支撑,2),'元'))),COLOR8E8EFF;
DRAWTEXT_FIX(C!=0,0.02,0.45,0,STRCAT('明日突破:',STRCAT(CON2STR(明日突破,2),'元'))),COLORFFFFFF;
DRAWTEXT_FIX(C!=0,0.02,0.50,0,STRCAT('明日阻力:',STRCAT(CON2STR(明日阻力,2),'元'))),COLORFFFF00;
DRAWTEXT_FIX(C!=0,0.02,0.55,0,STRCAT('明日支撑:',STRCAT(CON2STR(明日支撑,2),'元'))),COLOR8E8EFF;
DRAWTEXT_FIX(C!=0,0.02,0.60,0,STRCAT('明日反转:',STRCAT(CON2STR(明日反转,2),'元'))),COLORYELLOW;
DRAWTEXT_FIX(C!=0,0.02,0.65,0,'☆==================☆'),COLORRED;
J5:MA(C,5)NODRAW;
J10:MA(C,10)NODRAW;
J30:MA(C,30)NODRAW;
J60:MA(C,60)NODRAW;
J120:MA(C,120)NODRAW;
J250:MA(C,250)NODRAW;
JXDT:=J10 J30ANDJ30 J60ANDJ60 J250ANDJ30 J120;
FGA:=O MA(C,5)ANDO MA(C,10)ANDC MA(C,5)ANDC MA(C,10);
SL:=V MA(V,40)ANDV MA(V,135);
DL:=L=LLV(V,10);
CS1:=JXDTANDCOUNT(SL,4)
CS2:=JXDTANDCOUNT(DL,4)
CS:=CS1ORCS2;
JS:=CSANDFGA;
DRAWICON(JS,L*0.98,23);
ENTERLONG:DRAWICON(CROSS(买线,卖线),L,42);
EXITLONG:DRAWICON(CROSS(卖线,买线),H,43);
A1:=1;
A2:=(5);
A3:=(((2*CLOSE)+HIGH)+LOW)/4;
A4:=LLV(LOW,34);
A5:=HHV(HIGH,34);
A6:=EMA((((A3-A4)/(A5-A4))*100),13);
A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1;
黑马决策线:(EMA(A7,A2))*A1,COLORRED;
A8:=(HHV(HIGH,9))-(LLV(LOW,9));
A9:=(HHV(HIGH,9))-CLOSE;
A10:=CLOSE-(LLV(LOW,9));
A11:=((A9/A8)*100)-70;
A12:=((CLOSE-(LLV(LOW,60)))/((HHV(HIGH,60))-(LLV(LOW,60))))*100;
A13:=SMA(((A10/A8)*100),3,1);
A14:=(SMA(A13,3,1))-(SMA(A11,9,1));
A15:=IF((A14 100),(A14-100),0);
A16:=(EMA((((A3-A4)/(A5-A4))*100),8))*A1;
A17:=(EMA(A16,5))*A1;
STICKLINE(((A16-A17) 0),A16,A17,3,1),COLORFFAA18;
STICKLINE(((A16-A17) 0),A16,A17,3,0),COLORGREEN;
A18:=(EMA(CLOSE,2))*A1;
A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42))*A1;
A20:=(HHV((MA(HIGH,13)),13))*A1;
A21:=(LLV((MA(HIGH,13)),1))*A1;
A22:=(EMA(CLOSE,4))*A1;
A23:=((((A18 =A19)AND(A21=A20))AND(A18 A22))AND(CLOSE A21))AND((REF(A21,1)) (REF(A20,1)));
A24:=BARSLAST(A23)+1;
A25:=(LLV(LOW,A24))*1.3;
A26:=(LLV(LOW,20))*1.418;
A27:=(((((A18 =A19)AND(A21=A20))AND((CLOSE/(REF(CLOSE,1))) =1.07))AND(A24 =30))AND(CLOSE =A25))AND(CLOSE =A26);
A28:=A27AND(FILTER(A27,A24));
{A29:=(STRFIND(STKNAME,'ST',1)) }
A30:=((((((A18 =A19)AND(A21=A20))AND((CLOSE/(REF(CLOSE,1))) =1.035))AND(A24 =30))AND(CLOSE =A25))AND(CLOSE =A26));
A31:=A30AND(FILTER(A30,20));
DRAWICON((A28ORA31),黑马决策线,1);
DRAWTEXT((A28ORA31),黑马决策线,'黑马'),COLORRED;
{DRAWTEXTREL(3,30,'XXXX:XXXXXXXXX'),COLORWHITE;};
DRAWGBK(VOL 1,COLORRGB(180,180,180),COLORRGB(25,15,0),70);
S:='股票代码:'+STKLABEL;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,S),ALIGN4,color222222;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,'所属:'+BLKNAME+'n'+'发行价'+NUMTOSTR(FINANCE(51),2)+'元'+'发行量'+NUMTOSTR(FINANCE(52),2)+'万股'+'n'+'总股本'+NUMTOSTR(FINANCE(1),0)+'万股'+'流通A股'+NUMTOSTR(FINANCE(7),0)+'万股'+'净资产'+NUMTOSTR(FINANCE(35),2)+'亿元'+'每股收益'+NUMTOSTR(FINANCE(33),2)+'元'+'每股未分配'+NUMTOSTR(FINANCE(32),2)+'元'+'n'+'市盈率'+NUMTOSTR(DYNAINFO(39),2)+'%'+'投资收益'+NUMTOSTR(FINANCE(24),2)+'元'+'股东总数'+NUMTOSTR(FINANCE(50),0)+'户'),ALIGN4,color222222;
BB:=BARPOS=SYSPARAM(1);
买线:=EMA(CLOSE,2);
卖线:=(EMA(SLOPE(CLOSE,13)*20+CLOSE,40));
低吸:CROSS(买线,卖线),LINETHICK0;
高抛:CROSS(卖线,买线),LINETHICK0;
DRAWTEXT(低吸,LOW*0.996,'←低吸'),PXUP6,colorFF;
DRAWTEXT(高抛,HIGH*1.028,'←高抛'),PXUP6,colorFFFF00;
STICKLINE(买线 =卖线,LOW,HIGH,1,0),colorFF;
STICKLINE(买线 =卖线,CLOSE,OPEN,4.5,0),colorAA;
STICKLINE(买线 =卖线,CLOSE,OPEN,4,0),colorCC;
STICKLINE(买线 =卖线,CLOSE,OPEN,3,0),colorCC;
STICKLINE(买线 =卖线,CLOSE,OPEN,2,0),colorEE;
STICKLINE(买线 卖线,CLOSE,OPEN,4.5,0),colorAAAA00;
STICKLINE(买线 卖线,CLOSE,OPEN,4,0),colorBBBB00;
STICKLINE(买线 卖线,CLOSE,OPEN,3,0),colorCCCC00;
STICKLINE(买线 卖线,CLOSE,OPEN,2,0),colorEEEE00;
STICKLINE(买线 卖线,LOW,HIGH,1,0),colorFFFF00;
STICKLINE(CROSS(买线,卖线)ORCROSS(卖线,买线),OPEN,CLOSE,3,0),colorFFFF;
短期:EMA((EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,colorFFFFFF;
主力中期成本:MA(CLOSE,21),LINETHICK1,colorFF00;
主力长期成本:MA(CLOSE,30),LINETHICK2,colorFFFF;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
DRAWTEXT(CROSS(V1,V2),V1+0.05,'←黑马起飞'),PXUP4,colorFF00;
黑马起飞:IF(CROSS(V1,V2),1,0),LINETHICK0;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5);
AK:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*50,13);
AB:=CROSS(AK1,AK);
DRAWICON(CROSS(V1,V2),V2,1);
DRAWTEXT(AB=1,LOW*0.99,'←黑马起步'),colorFFFF;
黑马起步:IF(AB=1,1,0),LINETHICK0;
飞狐黑马决策系统副图指标截图