参数n:670
源码:
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,' 红带持股'),ALIGN4,colorFF;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,' 蓝带卖出'),ALIGN4,colorFF0000;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'→红拄关注或分批买进,蓝拄提示卖出,文字提示黑马,宝塔提示买进 高位提示风险'),ALIGN5,colorFF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,' 网络作\群QQ:2'),ALIGN5,colorFFFF;
HDFGS:=1;
HDF:=DATE>109122599999;
FF07:=LLV(HIGH,N);
长线筹码:=100*(CLOSE-FF07)/FF07;
筹码底部:=长线筹码=0 OR 长线筹码<-0.05;
FF08:=LLV(HIGH,998);
长线筹码2:=2000*(CLOSE-FF08)/FF08;
FF001:=(CLOSE-LLV(CLOSE,150))/(HHV(CLOSE,150)-LLV(CLOSE,150))*100;
FF002:=(CLOSE-LLV(CLOSE,280))/(HHV(CLOSE,280)-LLV(CLOSE,280))*100;
FF003:=(CLOSE-LLV(CLOSE,400))/(HHV(CLOSE,400)-LLV(CLOSE,400))*100;
FF004:=(CLOSE-LLV(CLOSE,550))/(HHV(CLOSE,550)-LLV(CLOSE,550))*100;
FF005:=(CLOSE-LLV(CLOSE,700))/(HHV(CLOSE,700)-LLV(CLOSE,700))*100;
FF006:=(CLOSE-LLV(CLOSE,800))/(HHV(CLOSE,800)-LLV(CLOSE,800))*100;
FF007:=EMA(100*(CLOSE-LLV(LOW,220))/(HHV(HIGH,220)-LLV(LOW,220)),5);
FF008:=EMA(100*(CLOSE-LLV(LOW,420))/(HHV(HIGH,420)-LLV(LOW,420)),7);
FF009:=EMA(100*(CLOSE-LLV(LOW,560))/(HHV(HIGH,560)-LLV(LOW,560)),9);
FF010:=EMA(100*(CLOSE-LLV(LOW,680))/(HHV(HIGH,680)-LLV(LOW,680)),11);
FF011:=EMA(100*(CLOSE-LLV(LOW,820))/(HHV(HIGH,820)-LLV(LOW,820)),13);
FF012:=EMA(100*(CLOSE-LLV(LOW,960))/(HHV(HIGH,960)-LLV(LOW,960)),15);
FF013:=(CLOSE-LLV(CLOSE,290))/(HHV(CLOSE,290)-LLV(CLOSE,290))*100*HDFGS;
FF014:=(CLOSE-LLV(LOW,286))/(HHV(HIGH,286)-LLV(LOW,286))*100;
FF015:=EMA(100*(CLOSE-LLV(LOW,290))/(HHV(HIGH,290)-LLV(LOW,290)),3);
FF016:=EMA(100*(CLOSE-LLV(LOW,200))/(HHV(HIGH,200)-LLV(LOW,200)),9);
FF017:=(FF013+FF014+FF015+FF016)/4;
FF018:=EMA(100*(CLOSE-LLV(LOW,560))/(HHV(HIGH,560)-LLV(LOW,560)),13)*HDFGS;
大趋势:=(CLOSE-LLV(CLOSE,1842))/(HHV(CLOSE,1842)-LLV(CLOSE,1842))*-100;
HDF趋势:=EMA(-101*(CLOSE-LLV(CLOSE,1842))/(HHV(CLOSE,1842)-LLV(CLOSE,1842)),13);
STICKLINE((大趋势=0 AND HDF趋势>-0.2)>0,-100,-80,1,0),colorFFFF;
绝对买卖值:=(FF001+FF002+FF003+FF004+FF005+FF006)/6;
大盘买卖值:=(FF007+FF008+FF009+FF010+FF011+FF012)/6;
【波段值小于一买大于九十九卖】:(绝对买卖值+大盘买卖值+FF017)/3,LINETHICK0,colorFF00;
多空行情:EMA(100*(CLOSE-LLV(LOW,3000))/(HHV(HIGH,3000)-LLV(LOW,3000)),260),LINETHICK0,colorFFFF00;
该股票获利盘排序:WINNER(CLOSE)*100*HDFGS,LINETHICK0;
短线趋势:EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),33),LINETHICK0,color4080FF;
FILLRGN(短线趋势,短线趋势,0),color808080;
HDF01:=(CLOSE-LLV(CLOSE,N))/(HHV(CLOSE,N)-LLV(CLOSE,N))*100;
HDF02:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),5);
HDF03:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),7);
HDF04:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),9);
HDF05:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),11);
HDF06:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),13);
HDF07:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),15);
HDF08:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),17);
HDF09:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),20);
HDF10:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),23);
HDF12:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),25);
HDF13:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),27);
HDF14:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),30);
HDF15:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),35);
HDF16:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),40);
HDF17:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),45);
HDF18:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),50);
HDF19:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),60);
HDF20:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),70);
HDF21:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),80);
HDF22:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),90);
HDF23:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),100);
HDF24:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),110);
HDF25:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),120);
HDF26:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),130);
HDF28:=EMA(100*(CLOSE-LLV(LOW,2116))/(HHV(HIGH,2116)-LLV(LOW,2116)),33);
长线趋势:EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),150),LINETHICK0,colorFFFF;
大趋势1:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),200);
综合:=(短线趋势+长线趋势+【波段值小于一买大于九十九卖】)/3;
强攻:=(CROSS(HDF05,长线趋势) AND 大趋势1<6 AND 长线趋势<5 AND HDF28<5 AND HDFGS)*20;
离场:=(CROSS(长线趋势,HDF05) AND 大趋势1>90 AND 长线趋势>93.5 AND HDFGS)*70;
DRAWTEXT(CROSS(1,强攻),-90,'←买'),colorFF;
DRAWTEXT(CROSS(1,离场),-20,'离场 观望'),ALIGN0,colorFF00;
DRAWTEXT(CROSS(1,离场),-20,'┃'),ALIGN0,colorFF00;
DRAWTEXT(CROSS(1,离场),-10,'▲'),ALIGN0,colorFF00;
FILLRGN(短线趋势<0.5 AND 该股票获利盘排序=0 AND 长线筹码2<0,长线筹码2,0),colorFFFF00;
大底部:(绝对买卖值=0 AND FF017<0.5 AND HDF28<1.07 AND 综合<1.899 AND 大趋势1<5.699 AND 长线趋势<4.39 AND HDFGS AND 短线趋势<1.66 AND 长线筹码2<0.0001 AND 长线筹码<0.0001 AND 该股票获利盘排序<0.05 AND 多空行情<8 AND 【波段值小于一买大于九十九卖】<0.5)*88,STICK;
STICKLINE(大底部,0,70,2,0),colorFF;
底段:=【波段值小于一买大于九十九卖】<0.9 AND 综合<5.25 AND 该股票获利盘排序<0.09 AND 短线趋势<3.2 AND 长线趋势<11.65 AND 多空行情<18 AND HDFGS;
高段:=【波段值小于一买大于九十九卖】>99 AND 综合>97.36 AND 该股票获利盘排序>98.88 AND 短线趋势>98.789 AND 长线趋势>93.1 AND 多空行情>60 AND HDFGS;
STICKLINE(高段,100,130,10,0),colorFF00;
STICKLINE(高段,100,115,10,0),colorFF0000;
STICKLINE(底段,0,50,5,0),colorFF;
STICKLINE(底段,0,40,10,0),colorFF00;
STICKLINE(底段,0,32,25,0),color4080FF;
STICKLINE(底段,0,24,50,0),colorFFFFFF;
STICKLINE(底段,0,18,100,0), |