好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式陈氏解盘A01副公式 飞狐陈氏指标 源码

陈氏解盘A01副公式 飞狐陈氏指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-07-23 21:44:54
  • 指标公式标签:A01 陈氏
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:陈氏解盘A01副公式 飞狐陈氏指标 源码

今开:=open,color00ffff,linethick0;//今开:=dynainfo(4);
今高:=high,color00ff00,linethick0;//最高:=dynainfo(5);
今低:=low,colorff00ff,linethick0;//最低:=dynainfo(6);
今收:=close,color0000ff,linethick0;//最新:=dynainfo(7);
前开:=ref(今开,1),color0099ff,linethick0;
{好公式网 http://www.goodgongshi.com 整理}
前收:ref(今收,1),color0066ff,linethick0;//前收:=dynainfo(3);
均价:=(amount/vol*volunit)/10000,coloraa00ff,linethick0;//均价:=dynainfo(11);{成本价}
今量:=vol,color0000ff,linethick0;{手}//总手:=dynainfo(8);{手}
今额:=amount/10000,color00ffff,linethick0;{万元}//总额(持仓):=dynainfo(11);{万元}
今率:=vol/capital*100,color00aaff,linethick0;//换手率:=dynainfo(37);
今涨停:=if(stkinblock(stklabel,'st板块') or stkinblock(stklabel,'*st板块'),(1.05*前收),(1.1*前收));{如果为st涨停为5%,否则为10%}
今跌停:=if(stkinblock(stklabel,'st板块') or stkinblock(stklabel,'*st板块'),(0.95*前收),(0.9*前收));{如果为st跌停为5%,否则为10%}
明涨停:=if(stkinblock(stklabel,'st板块') or stkinblock(stklabel,'*st板块'),(1.05*今收),(1.1*今收));
明跌停:=if(stkinblock(stklabel,'st板块') or stkinblock(stklabel,'*st板块'),(0.95*今收),(0.9*今收));
//市场行情
收阳:
if(今收>今开,今高,0),color0000ff,linethick0;{上影线}
if(今收>今开,今收,0),colorff00ff,linethick0;
if(今收>今开,今开,0),color9999ff,linethick0;
if(今收>今开,今低,0),colorff99ff,linethick0;{下影线}
收阴:
if(今收<=今开,今高,0),color00ffff,linethick0;
if(今收<=今开,今开,0),color99ffff,linethick0;
if(今收<今开,今收,0),color99ff99,linethick0;
if(今收<=今开,今低,0),color00ff00,linethick0;
var1:=(1*今开+3*今高+3*今低+1*今收)/8;
var2:=if(date>=900101,1,0);
var3:=(1*今收+1*今开)/2;
var4:=if(今收>今开,(1*今开+3*今低)/4,(1*今收+3*今低)/4);
var5:=if(今收>今开,(1*今收+3*今高)/4,(1*今开+3*今高)/4);
涨跌值:(今收-前收),color00acff,linethick0;
上涨值:=if(今收>前收,(今收-前收),0),color00acff,linethick0;
下跌值:=if(今收<=前收,(前收-今收),0),color00ffac,linethick0;
涨跌幅:=(今收-前收)/前收*100,color00deff,linethick0;
振幅值:(今高-今低),colorac00ff,linethick0;
振幅:=(今高-今低)/今开*100,colorde00ff,linethick0;
今行情:=dynainfo(4)=今开 and dynainfo(5)=今高 and dynainfo(6)=今低 and dynainfo(7)=今收;
//主要操盘指标-ma/ema/sma/wma均线指标
ma5:=ma(今收,5),colorred,linethick1;{五日均线}
ma8:=ma(今收,8),color6666ff,linethick2;{八日均线}
ma13:=ma(今收,13),color9999ff,linethick1;{十三日均线}
ma21:=ma(今收,21),colormagenta,linethick1;{一个月均线}
ma43:=ma(今收,43),colorff66ff,linethick1;{二个月均线}
ma65:=ma(今收,65),coloryellow,linethick1;{三个月均线}
ma108:=ma(今收,108),color66ffff,linethick1;{五个月均线}
ma165:=ma(今收,165),colorgreen,linethick2;{八个月均线}
ma248:=ma(今收,248),color66ff66,linethick1;{一年均线}
ema5:=ema(今收,5);ema8:=ema(今收,8);ema13:=ema(今收,13);ema21:=ema(今收,21);ema43:=ema(今收,43);ema65:=ema(今收,65);ema105:=ema(今收,108);ema165:=ema(今收,165);ema248:=ema(今收,248);
多头线:=ma5,color0000ff,linethick0;
多空博弈线:=ma8,color0099ff,linethick0;//(3*ema5+1*ema13)/4;
空头线:=ma13,color00ffff,linethick0;
多空生命线:=ma21,colorff0099,linethick0;
之字趋势线:=zig(ma5,10),color3939ff,linethick0;
回归趋势线:=forcast(forcast(ref(var1,1),5),3),color3a3aff,linethick0;
加权趋势线:=wma(wma(ref(var1,1),5),3),color3c3cff,linethick0;
个股强弱线:=dma(均价,sum(vol,5)/5/capital),color3d3dff,linethick0;
长线压力位:=hhv(ma(ref(今高,1),3),65)*1.0382;
中线压力位:=hhv(ma(ref(今高,1),3),21)*1.0382;
短线压力位:=hhv(ma(ref(今高,1),3),21)*1.025;
短线支撑位:=llv(ma(ref(今低,1),3),21)*0.975;
中线支撑位:=llv(ma(ref(今低,1),3),21)*0.9618;
长线支撑位:=llv(ma(ref(今低,1),3),65)*0.9618;
箱顶:=长线压力位,color00af00,linethick0;
箱底:=长线支撑位,coloraf00aa,linethick0;
上轨:=if(今高>=短线压力位,中线压力位,短线压力位),coloracffcd,linethick0;
中轨:=(短线压力位+短线支撑位)/2,color00aacc,linethick0;
下轨:=if(今低<=短线支撑位,中线支撑位,短线支撑位),colorcdacff,linethick0;
//主要操盘指标-macd趋势指标
vara0:=(ema5-ema13)*100*var2/var2;
varb0:=(ema8-ema21)*100*var2/var2;
diff:=ema((3*vara0+1*varb0)/4,3);
dea:=ema(diff,5);
macd:=(diff-dea)*2;
变盘点:
if(count(cross(diff,ref(diff,1)) or cross(dea,ref(dea,1)) or cross(macd,ref(macd,1)),3) and 今收>今开,1,0),colorff00ff,linethick0;
if(count(cross(ref(diff,1),diff) or cross(ref(dea,1),dea) or cross(ref(macd,1),macd),3) and 今收<=今开,1,0),color00ffff,linethick0;
交叉点:
if(count(cross(diff,dea),3) and 今收>今开,1,0),color0000ff,linethick0;
if(count(cross(dea,diff),3) and 今收<=今开,1,0),color00ff00,linethick0;
//其它辅助指标--roc变动速率指标
vara1:=(今收-ref(今收,5))/ref(今收,5)*100*var2/var2;
varb1:=(今收-ref(今收,13))/ref(今收,13)*100*var2/var2;
roc1:=ma((3*vara1+1*varb1)/4,3);
roc2:=ma(roc1,5);
//其它辅助指标--bias乖离率指标
vara2:=(今收-ma5)/ma5*100*var2/var2;
varb2:=(今收-ma13)/ma13*100*var2/var2;
bias1:=ma((3*vara2+1*varb2)/4,3);
bias2:=ma(bias1,5);
//其它辅助指标-kd/kdj随机指标
vara3:=(今收-llv(今低,5))/(hhv(今高,5)-llv(今低,5))*100*var2/var2;//(var3-llv(var4,5))/(hhv(var5,5)-llv(var4,5))*100*var2/var2;
varb3:=(今收-llv(今低,13))/(hhv(今高,13)-llv(今低,13))*100*var2/var2;//(var3-llv(var4,13))/(hhv(var5,13)-llv(var4,13))*100*var2/var2;
rsv:=(3*vara3+1*varb3)/4;
k:=sma(rsv,5,1);
d:=sma(k,3,1);
kdj:=(3*k-2*d);
多空对比:=(k-d);//多空力度对比
空翻多:=if(多空对比<=0 and 多空对比>ref(多空对比,1),1,0);
多头市场:=if(多空对比>0 and 多空对比>ref(多空对比,1),1,0);
多翻空:=if(多空对比>0 and 多空对比<=ref(多空对比,1),1,0);
空头市场:=if(多空对比<=0 and 多空对比<=ref(多空对比,1),1,0);
炒底:=if(count(cross(kdj,ref(kdj,1)) and kdj<=25,3) and 今收>今开,1,0),colorff00ff,linethick0;
逃顶:=if(count(cross(ref(kdj,1),kdj) and kdj>=75,3) and 今收<=今开,1,0),color00ff00,linethick0;
//其它辅助指标-rsi相对强弱指标
vara4:=sma(max(今收-前收,0),5,1)/sma(abs(今收-前收),5,1)*100*var2/var2;
varb4:=sma(max(今收-前收,0),13,1)/sma(abs(今收-前收),13,1)*100*var2/var2;
rsi1:=ma((3*vara4+1*varb4)/4,3);
rsi2:=ma(rsi1,5);
最大强值:=ma(ma(max(vara4-varb4,0),5),3);
最小弱值:=ma(ma(min(vara4-varb4,0),5),3);
试买:=if(最大强值=ref(最大强值,1) and ref(最大强值,1)=0,1,0);//补仓区
追买:=if(最大强值>ref(最大强值,1) and ref(最大强值,1)=0,1,0);//满仓点
止盈:=if(最小弱值=ref(最小弱值,1) and ref(最小弱值,1)=0,1,0);//减仓区
止损:=if(最小弱值<ref(最小弱值,1) and ref(最小弱值,1)=0,1,0);//空仓点
买入:=if(试买 or 追买,1,0),color0000ff,linethick0;
卖出:=if(止盈 or 止损,1,0),color00ffff,linethick0;
共底:=if(kdj<=20 and macd<=-5 and rsi1<=25 and diff<=-7.5 and roc1<=-2.5 and bias1<=-2.5,1,0);
共顶:=if(kdj>=80 and macd>=5 and rsi1>=75 and diff>=7.5 and roc1>=2.5 and bias1>=2.5,1,0);
//背景色
drawgbk(今收>今开,colorrgb(105,35,95),colorrgb(225,155,205),1);//当日上涨:isup;
drawgbk(今收=今开,colorrgb(35,55,95),colorrgb(55,105,155),1);//当日平盘:isequal;
drawgbk(今收<今开,colorrgb(15,35,55),colorrgb(35,55,105),1);//当日下跌:isdown;
fillrgn(今收>0,多头线,hhv(今高,0)),colorffcdcd;
fillrgn(今收>0,多头线,0),color391133;
fillrgn(多头线<=个股强弱线 and dynainfo(7)>dynainfo(4),个股强弱线,多头线),colordfcdef;
fillrgn(多头线<=个股强弱线 and dynainfo(7)<=dynainfo(4),个股强弱线,多头线),colordedfcd;
fillrgn(多头线<=多空生命线,多空生命线,多头线),color9a9a33;
fillrgn(多头线<=空头线,空头线,多头线),color7c7c33;
fillrgn(多头线<=多空博弈线,多空博弈线,多头线),color5d5d33;
fillrgn(多头线>空头线 and 多头线>ref(多头线,1),多头线,llv(今低,0)),color000036;
fillrgn(多头线>空头线 and 多头线<=ref(多头线,1),多头线,llv(今低,0)),color003636;
fillrgn(多头线<=空头线 and 多头线>ref(多头线,1),多头线,llv(今低,0)),color360036;
fillrgn(多头线<=空头线 and 多头线<=ref(多头线,1),多头线,llv(今低,0)),color003600;
partline(今收>0,个股强弱线),colorffcdcd,linethick1;
//光标线
var61:=barssince(今收)=sysparam(1)-1;
vertline(var61),colorwhite,pointdot;
var62:=barssince(今收)=sysparam(1)-2;
vertline(var62),colorgray,pointdot;
var63:=barssince(今收)=sysparam(1)-3;
vertline(var63),colorgray,pointdot;
var64:=barssince(今收)=sysparam(1)-4;
vertline(var64),colorgray,pointdot;
var65:=barssince(今收)=sysparam(1)-5;
vertline(var65),colorwhite,pointdot;
var66:=barssince(今收)=sysparam(1)-6;
vertline(var66),colorgray,pointdot;
var67:=barssince(今收)=sysparam(1)-7;
vertline(var67),colorgray,pointdot;
var68:=barssince(今收)=sysparam(1)-8;
vertline(var68),colorwhite,pointdot;
var69:=barssince(今收)=sysparam(1)-21;
vertline(var69),colorwhite,pointdot;
vertline(islastbar),colorgray,linethick1,shift1;
vertline(islastbar),colorwhite,linethick3;
//五彩k线与趋势线
stickline(今行情,今跌停,今涨停,9,1),colorbrown;
stickline(今行情,明跌停,明涨停,9,1),colorgray,shift1;
stickline(今行情,今开,今开,9,0),colorcyan,shift1;
drawline(今收>0,dynainfo(7),今收>0,dynainfo(7),1),colorblack,linethick0;
partline(今收>0,箱顶),color00af00,linethick1;
partline(今收>0,上轨),coloracffcd,linethick2;
partline(今收>0,中轨),color00aacc,pointdot;
partline(今收>0,下轨),colorcdacff,linethick2;
partline(今收>0,箱底),coloraf00aa,linethick1;
partline(之字趋势线>ref(之字趋势线,1),之字趋势线),coloraa00aa,linethick1;
partline(之字趋势线<=ref(之字趋势线,1),之字趋势线),color00aa00,linethick1;
stickline(最大强值=ref(最大强值,1) and ref(最大强值,1)=0,(今高+0.01),(今低-0.01),9,1),coloraa00aa;{补仓区}
stickline(最大强值>ref(最大强值,1) and ref(最大强值,1)=0,(今高+0.01),(今低-0.01),9,1),color0000aa;{满仓点}
stickline(最小弱值=ref(最小弱值,1) and ref(最小弱值,1)=0,(今高+0.01),(今低-0.01),9,1),color00aaaa;{减仓区}
stickline(最小弱值<ref(最小弱值,1) and ref(最小弱值,1)=0,(今高+0.01),(今低-0.01),9,1),color00aa00;{空仓点}
stickline(空翻多 and 今收>今开,今开,今低,2,0),colorff00ff;
stickline(空翻多 and 今收>今开,今收,今高,2,0),colorff5599;
stickline(空翻多 and 今收<=今开,今收,今低,2,0),color00ff99;
stickline(空翻多 and 今收<=今开,今开,今高,2,0),colorff7799;
stickline(多头市场 and 今收>今开,今开,今低,2,0),color0000ff;
stickline(多头市场 and 今收>今开,今收,今高,2,0),colorff0099;
stickline(多头市场 and 今收<=今开,今收,今低,2,0),color0099ff;
stickline(多头市场 and 今收<=今开,今开,今高,2,0),colorff3399;
stickline(多翻空 and 今收>今开,今开,今低,2,1),color0066ff;
stickline(多翻空 and 今收>今开,今收,今高,2,1),colorff9999;
stickline(多翻空 and 今收<=今开,今收,今低,2,1),color00ffff;
stickline(多翻空 and 今收<=今开,今开,今高,2,1),colorff6666;
stickline(空头市场 and 今收>今开,今开,今低,2,1),colorff0099;
stickline(空头市场 and 今收>今开,今收,今高,2,1),colorff3333;
stickline(空头市场 and 今收<=今开,今收,今低,2,1),color00ff00;
stickline(空头市场 and 今收<=今开,今开,今高,2,1),colorff0000;
stickline(macd<=0 and macd<=ref(macd,1) and 今收>今开,今开,今收,8,1),coloraf339a;{买入}
stickline(macd<=0 and macd<=ref(macd,1) and 今收>今开,今开,今收,6,0),colorcf55ac;
stickline(macd<=0 and macd<=ref(macd,1) and 今收>今开,今开,今收,4,0),colordf77cd;
stickline(macd<=0 and macd<=ref(macd,1) and 今收>今开,今开,今收,2,0),coloref99de;
stickline(macd<=0 and macd<=ref(macd,1) and 今收>今开,今开,今收,1,0),colorffaaef;
stickline(macd<=0 and macd>ref(macd,1) and 今收>今开,今开,今收,8,1),color9a33af;{买入}
stickline(macd<=0 and macd>ref(macd,1) and 今收>今开,今开,今收,6,0),colorac55cf;
stickline(macd<=0 and macd>ref(macd,1) and 今收>今开,今开,今收,4,0),colorcd77df;
stickline(macd<=0 and macd>ref(macd,1) and 今收>今开,今开,今收,2,0),colorde99ef;
stickline(macd<=0 and macd>ref(macd,1) and 今收>今开,今开,今收,1,0),colorefaaff;
stickline(macd>0 and macd<=ref(macd,1) and 今收>今开,今开,今收,8,1),color3379ff;{买入}
stickline(macd>0 and macd<=ref(macd,1) and 今收>今开,今开,今收,6,0),color559aff;
stickline(macd>0 and macd<=ref(macd,1) and 今收>今开,今开,今收,4,0),color77acff;
stickline(macd>0 and macd<=ref(macd,1) and 今收>今开,今开,今收,2,0),color99cdff;
stickline(macd>0 and macd<=ref(macd,1) and 今收>今开,今开,今收,1,0),coloraadeff;
stickline(macd>0 and macd>ref(macd,1) and 今收>今开,今开,今收,8,1),color3333af;{买入}
stickline(macd>0 and macd>ref(macd,1) and 今收>今开,今开,今收,6,0),color5555cf;
stickline(macd>0 and macd>ref(macd,1) and 今收>今开,今开,今收,4,0),color7777df;
stickline(macd>0 and macd>ref(macd,1) and 今收>今开,今开,今收,2,0),color9999ef;
stickline(macd>0 and macd>ref(macd,1) and 今收>今开,今开,今收,1,0),coloraaaaff;
stickline(macd>0 and macd>ref(macd,1) and 今收<=今开,今开,今收,8,1),color3379ff;{卖出}
stickline(macd>0 and macd>ref(macd,1) and 今收<=今开,今开,今收,6,0),color559aff;
stickline(macd>0 and macd>ref(macd,1) and 今收<=今开,今开,今收,4,0),color77acff;
stickline(macd>0 and macd>ref(macd,1) and 今收<=今开,今开,今收,2,0),color99cdff;
stickline(macd>0 and macd>ref(macd,1) and 今收<=今开,今开,今收,1,0),coloraadeff;
stickline(macd>0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,8,1),color339aff;{卖出}
stickline(macd>0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,6,0),color55acff;
stickline(macd>0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,4,0),color77cdff;
stickline(macd>0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,2,0),color99deff;
stickline(macd>0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,1,0),coloraaefff;
stickline(macd<=0 and macd>ref(macd,1) and 今收<=今开,今开,今收,8,1),color33ff79;{卖出}
stickline(macd<=0 and macd>ref(macd,1) and 今收<=今开,今开,今收,6,0),color55af9a;
stickline(macd<=0 and macd>ref(macd,1) and 今收<=今开,今开,今收,4,0),color77cfac;
stickline(macd<=0 and macd>ref(macd,1) and 今收<=今开,今开,今收,2,0),color99dfcd;
stickline(macd<=0 and macd>ref(macd,1) and 今收<=今开,今开,今收,1,0),coloraaefde;
stickline(macd<=0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,8,1),color33af33;{卖出}
stickline(macd<=0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,6,0),color55cf55;
stickline(macd<=0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,4,0),color77df77;
stickline(macd<=0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,2,0),color99ef99;
stickline(macd<=0 and macd<=ref(macd,1) and 今收<=今开,今开,今收,1,0),coloraaffaa;
stickline(cross(ref(diff,1),diff) and 今收>今开,今开,今收,8,1),color0055ff;
stickline(cross(ref(diff,1),diff) and 今收>今开,今开,今收,6,0),color3377ff;
stickline(cross(ref(diff,1),diff) and 今收>今开,今开,今收,4,0),color5599ff;
stickline(cross(ref(diff,1),diff) and 今收>今开,今开,今收,2,0),color77aaff;
stickline(cross(ref(diff,1),diff) and 今收>今开,今开,今收,1,0),color99ccff;
stickline(cross(diff,ref(diff,1)) and 今收>今开,今开,今收,8,1),coloraf0077;
stickline(cross(diff,ref(diff,1)) and 今收>今开,今开,今收,6,0),colorcf3399;
stickline(cross(diff,ref(diff,1)) and 今收>今开,今开,今收,4,0),colordf55aa;
stickline(cross(diff,ref(diff,1)) and 今收>今开,今开,今收,2,0),coloref77cc;
stickline(cross(diff,ref(diff,1)) and 今收>今开,今开,今收,1,0),colorff99dd;
stickline(cross(ref(diff,1),diff) and 今收<=今开,今开,今收,8,1),color009aff;
stickline(cross(ref(diff,1),diff) and 今收<=今开,今开,今收,6,0),color33acff;
stickline(cross(ref(diff,1),diff) and 今收<=今开,今开,今收,4,0),color55cdff;
stickline(cross(ref(diff,1),diff) and 今收<=今开,今开,今收,2,0),color77deff;
stickline(cross(ref(diff,1),diff) and 今收<=今开,今开,今收,1,0),color99efff;
stickline(cross(diff,ref(diff,1)) and 今收<=今开,今开,今收,8,1),color00af55;
stickline(cross(diff,ref(diff,1)) and 今收<=今开,今开,今收,6,0),color33cf77;
stickline(cross(diff,ref(diff,1)) and 今收<=今开,今开,今收,4,0),color55df99;
stickline(cross(diff,ref(diff,1)) and 今收<=今开,今开,今收,2,0),color77efaa;
stickline(cross(diff,ref(diff,1)) and 今收<=今开,今开,今收,1,0),color99ffcc;
stickline(cross(ref(macd,1),macd) and 今收>今开,今开,今收,8,1),color0055ff;
stickline(cross(ref(macd,1),macd) and 今收>今开,今开,今收,6,0),color3377ff;
stickline(cross(ref(macd,1),macd) and 今收>今开,今开,今收,4,0),color5599ff;
stickline(cross(ref(macd,1),macd) and 今收>今开,今开,今收,2,0),color77aaff;
stickline(cross(ref(macd,1),macd) and 今收>今开,今开,今收,1,0),color99ccff;
stickline(cross(macd,ref(macd,1)) and 今收>今开,今开,今收,8,1),coloraf0077;
stickline(cross(macd,ref(macd,1)) and 今收>今开,今开,今收,6,0),colorcf3399;
stickline(cross(macd,ref(macd,1)) and 今收>今开,今开,今收,4,0),colordf55aa;
stickline(cross(macd,ref(macd,1)) and 今收>今开,今开,今收,2,0),coloref77cc;
stickline(cross(macd,ref(macd,1)) and 今收>今开,今开,今收,1,0),colorff99dd;
stickline(cross(ref(macd,1),macd) and 今收<=今开,今开,今收,8,1),color009aff;
stickline(cross(ref(macd,1),macd) and 今收<=今开,今开,今收,6,0),color33acff;
stickline(cross(ref(macd,1),macd) and 今收<=今开,今开,今收,4,0),color55cdff;
stickline(cross(ref(macd,1),macd) and 今收<=今开,今开,今收,2,0),color77deff;
stickline(cross(ref(macd,1),macd) and 今收<=今开,今开,今收,1,0),color99efff;
stickline(cross(macd,ref(macd,1)) and 今收<=今开,今开,今收,8,1),color00af55;
stickline(cross(macd,ref(macd,1)) and 今收<=今开,今开,今收,6,0),color33cf77;
stickline(cross(macd,ref(macd,1)) and 今收<=今开,今开,今收,4,0),color55df99;
stickline(cross(macd,ref(macd,1)) and 今收<=今开,今开,今收,2,0),color77efaa;
stickline(cross(macd,ref(macd,1)) and 今收<=今开,今开,今收,1,0),color99ffcc;
stickline(cross(ref(dea,1),dea) and 今收>今开,今开,今收,8,1),color0055ff;
stickline(cross(ref(dea,1),dea) and 今收>今开,今开,今收,6,0),color3377ff;
stickline(cross(ref(dea,1),dea) and 今收>今开,今开,今收,4,0),color5599ff;
stickline(cross(ref(dea,1),dea) and 今收>今开,今开,今收,2,0),color77aaff;
stickline(cross(ref(dea,1),dea) and 今收>今开,今开,今收,1,0),color99ccff;
stickline(cross(dea,ref(dea,1)) and 今收>今开,今开,今收,8,1),coloraf0077;
stickline(cross(dea,ref(dea,1)) and 今收>今开,今开,今收,6,0),colorcf3399;
stickline(cross(dea,ref(dea,1)) and 今收>今开,今开,今收,4,0),colordf55aa;
stickline(cross(dea,ref(dea,1)) and 今收>今开,今开,今收,2,0),coloref77cc;
stickline(cross(dea,ref(dea,1)) and 今收>今开,今开,今收,1,0),colorff99dd;
stickline(cross(ref(dea,1),dea) and 今收<=今开,今开,今收,8,1),color009aff;
stickline(cross(ref(dea,1),dea) and 今收<=今开,今开,今收,6,0),color33acff;
stickline(cross(ref(dea,1),dea) and 今收<=今开,今开,今收,4,0),color55cdff;
stickline(cross(ref(dea,1),dea) and 今收<=今开,今开,今收,2,0),color77deff;
stickline(cross(ref(dea,1),dea) and 今收<=今开,今开,今收,1,0),color99efff;
stickline(cross(dea,ref(dea,1)) and 今收<=今开,今开,今收,8,1),color00af55;
stickline(cross(dea,ref(dea,1)) and 今收<=今开,今开,今收,6,0),color33cf77;
stickline(cross(dea,ref(dea,1)) and 今收<=今开,今开,今收,4,0),color55df99;
stickline(cross(dea,ref(dea,1)) and 今收<=今开,今开,今收,2,0),color77efaa;
stickline(cross(dea,ref(dea,1)) and 今收<=今开,今开,今收,1,0),color99ffcc;
stickline(cross(dea,diff) and 今收>今开,今开,今收,8,1),color0077ff;
stickline(cross(dea,diff) and 今收>今开,今开,今收,6,0),color3399ff;
stickline(cross(dea,diff) and 今收>今开,今开,今收,4,0),color55aaff;
stickline(cross(dea,diff) and 今收>今开,今开,今收,2,0),color77ccff;
stickline(cross(dea,diff) and 今收>今开,今开,今收,1,0),color99ddff;
stickline(cross(diff,dea) and 今收>今开,今开,今收,8,1),color0000af;
stickline(cross(diff,dea) and 今收>今开,今开,今收,6,0),color3300cf;
stickline(cross(diff,dea) and 今收>今开,今开,今收,4,0),color5533df;
stickline(cross(diff,dea) and 今收>今开,今开,今收,2,0),color7755ef;
stickline(cross(diff,dea) and 今收>今开,今开,今收,1,0),color9977ff;
stickline(cross(diff,dea) and 今收<=今开,今开,今收,8,1),color00af77;
stickline(cross(diff,dea) and 今收<=今开,今开,今收,6,0),color33cf99;
stickline(cross(diff,dea) and 今收<=今开,今开,今收,4,0),color55dfaa;
stickline(cross(diff,dea) and 今收<=今开,今开,今收,2,0),color77efcc;
stickline(cross(diff,dea) and 今收<=今开,今开,今收,1,0),color99ffdd;
stickline(cross(dea,diff) and 今收<=今开,今开,今收,8,1),color77af00;
stickline(cross(dea,diff) and 今收<=今开,今开,今收,6,0),color99cf33;
stickline(cross(dea,diff) and 今收<=今开,今开,今收,4,0),coloraadf55;
stickline(cross(dea,diff) and 今收<=今开,今开,今收,2,0),colorccef77;
stickline(cross(dea,diff) and 今收<=今开,今开,今收,1,0),colorddff99;
drawtext(今行情,今涨停,'今涨停('+numtostr(今涨停,2)+')'),shift3,color0000ff;
drawtext(今行情,今跌停,'今跌停('+numtostr(今跌停,2)+')'),shift3,color00ffff;
drawtext(今行情,回归趋势线,'回归价('+numtostr(回归趋势线,2)+')'),shift3,color336699;
drawtext(今行情,加权趋势线,'加权价('+numtostr(加权趋势线,2)+')'),shift3,color996633;
drawtext(今行情,箱顶,'箱顶价('+numtostr(箱顶,2)+')'),shift43,color00af00;
drawtext(今行情,箱底,'箱底价('+numtostr(箱底,2)+')'),shift43,coloraf00aa;
drawtext(今行情,上轨,'上轨价('+numtostr(上轨,2)+')'),shift43,coloracffcd;
drawtext(今行情,中轨,'中轨价('+numtostr(中轨,2)+')'),shift43,color00aaff;
drawtext(今行情,下轨,'下轨价('+numtostr(下轨,2)+')'),shift43,colorcdacff;
drawtext(今行情,明涨停,'明涨停('+numtostr(明涨停,2)+')'),shift43,color9900ff;
drawtext(今行情,明跌停,'明跌停('+numtostr(明跌停,2)+')'),shift43,color0099ff;
drawtext(今行情 and 今低>中线支撑位 and 今低<=短线支撑位 and 今收>=短线支撑位,(箱底-0.30),'逢低吸纳'),shift43,colorff00aa;
drawtext(今行情 and 今高>=短线压力位 and 今高<中线压力位 and 今收<=短线压力位,(箱顶+0.30),'后市回挡'),shift43,color00ffaa;
drawtext(今行情 and 今低<=中线支撑位 and 今收>=中线支撑位,(箱底-0.20),'后市反弹'),shift43,coloraa00ff;
drawtext(今行情 and 今高>=中线压力位 and 今收<=中线压力位,(箱顶+0.20),'逢高减磅'),shift43,coloraaff00;
drawtext(今行情 and 今收>今开 and 前收>前开 and ref(今收,2)>ref(今开,2) and 今收>前收 and 前收>ref(今收,2),(箱底-0.10),'红三兵'),shift43,color0000ff;
drawtext(今行情 and 今收<今开 and 前收<前开 and ref(今收,2)<ref(今开,2) and 今收<前收 and 前收<ref(今收,2),(箱顶+0.10),'黑三兵'),shift43,color00ffff;
drawtext(今行情 and 今开<前收 and 今高<ref(今低,1),(ref(今低,1)-0.03),'>↓'),align0,colorf1fff1;{跳空缺口}
drawtext(今行情 and 今开>前收 and 今低>ref(今高,1),(ref(今高,1)+0.03),'>↑'),align0,colorf1f1ff;{跳空缺口}
drawtext(今行情 and 今量>=2.875*ref(今量,1) and 今收<今开,(今低-0.34),'∨↓'),align0,coloracffff;
drawtext(今行情 and 今量>=2.875*ref(今量,1) and 今收>今开,(今高+0.34),'∧↑'),align0,coloracacff;
drawtext(今行情 and 今量<=0.125*ref(今量,1) and 今收<今开,(今低-0.34),'∨'),align0,coloracffac;
drawtext(今行情 and 今量<=0.125*ref(今量,1) and 今收>今开,(今高+0.34),'∧'),align0,colorffacff;
drawtext(今行情 and ma5>ref(ma5,1) and 今收>ma5 and 今收>今开,(今开-0.30),'疯牛飙升'),shift78,color00acff;
drawtext(今行情 and ma5>ref(ma5,1) and 今收>ma5 and 今收<=今开,(今开-0.30),'疯牛止步'),shift78,color00deff;
drawtext(今行情 and ma5>ref(ma5,1) and 今收<=ma5 and 今收>今开,(今开-0.30),'疯牛来了'),shift78,color00cdff;
drawtext(今行情 and ma5>ref(ma5,1) and 今收<=ma5 and 今收<=今开,(今开-0.30),'疯牛逃遁'),shift78,color00ffff;
drawtext(今行情 and ma5<=ref(ma5,1) and 今收>ma5 and 今收>今开,(今开+0.30),'呆熊去了'),shift78,color00ffde;
drawtext(今行情 and ma5<=ref(ma5,1) and 今收>ma5 and 今收<=今开,(今开+0.30),'呆熊觅食'),shift78,color00ffcd;
drawtext(今行情 and ma5<=ref(ma5,1) and 今收<=ma5 and 今收>今开,(今开+0.30),'呆熊惊蛰'),shift78,color00ffac;
drawtext(今行情 and ma5<=ref(ma5,1) and 今收<=ma5 and 今收<=今开,(今开+0.30),'呆熊冬眠'),shift78,color00ff00;
drawtext(今行情 and count(cross(ma5,ma8),3) and 今收>=ma5 and 今收>今开,(今开-0.50),'黑马起步'),shift78,color00ccff;
drawtext(今行情 and count(cross(ma8,ma5),3) and 今收<=ma5 and 今收<=今开,(今开+0.50),'黑马止步'),shift78,color00ffcc;
drawtext(今行情 and count(cross(ma5,ma13),3) and 今收>=ma5 and 今收>=ma8 and 今收>今开,(今开-0.40),'黑马飙升'),shift78,color00aaff;
drawtext(今行情 and count(cross(ma13,ma5),3) and 今收<=ma5 and 今收<=ma8 and 今收<=今开,(今开+0.40),'黑马逃遁'),shift78,color00ffaa;
drawicon(今行情 and 共底,(今低-0.05),1),align0;{底区}
drawicon(今行情 and 共顶,(今高+0.11),2),align0;{顶区}
drawicon(今行情 and kdj<=20,(今低-0.03),8),align0;{底区}
drawicon(今行情 and kdj>=80,(今高+0.05),9),align0;{顶区}
drawicon(今行情 and (cross(diff,ref(diff,1)) or cross(dea,ref(dea,1)) or cross(macd,ref(macd,1))) and 今收>今开,(今低-0.21),6),align0;
drawicon(今行情 and (cross(ref(diff,1),diff) or cross(ref(dea,1),dea) or cross(ref(macd,1),macd)) and 今收>今开,(今低-0.21),4),align0;
drawicon(今行情 and (cross(ref(diff,1),diff) or cross(ref(dea,1),dea) or cross(ref(macd,1),macd)) and 今收<=今开,(今高+0.21),5),align0;
drawicon(今行情 and (cross(diff,ref(diff,1)) or cross(dea,ref(dea,1)) or cross(macd,ref(macd,1))) and 今收<=今开,(今高+0.21),7),align0;
drawicon(今行情 and cross(diff,dea) and 今收>今开,(今低-0.21),13),shift1,align0;
drawicon(今行情 and cross(dea,diff) and 今收>今开,(今低-0.21),10),shift1,align0;
drawicon(今行情 and cross(diff,dea) and 今收<=今开,(今高+0.21),11),shift1,align0;
drawicon(今行情 and cross(dea,diff) and 今收<=今开,(今高+0.21),14),shift1,align0;
drawicon(今行情 and (cross(k,ref(k,1)) or cross(d,ref(d,1)) or cross(kdj,ref(kdj,1))) and 今收>今开,(今低-0.27),6),align0;
drawicon(今行情 and (cross(ref(k,1),k) or cross(ref(d,1),d) or cross(ref(kdj,1),kdj)) and 今收>今开,(今低-0.27),4),align0;
drawicon(今行情 and (cross(ref(k,1),k) or cross(ref(d,1),d) or cross(ref(kdj,1),kdj)) and 今收<=今开,(今高+0.27),5),align0;
drawicon(今行情 and (cross(k,ref(k,1)) or cross(d,ref(d,1)) or cross(kdj,ref(kdj,1))) and 今收<=今开,(今高+0.27),7),align0;
drawicon(今行情 and cross(k,d) and 今收>今开,(今低-0.27),13),shift1,align0;
drawicon(今行情 and cross(d,k) and 今收>今开,(今低-0.27),10),shift1,align0;
drawicon(今行情 and cross(k,d) and 今收<=今开,(今高+0.27),11),shift1,align0;
drawicon(今行情 and cross(d,k) and 今收<=今开,(今高+0.27),14),shift1,align0;
drawtext(今行情 and macd<=0 and macd<=ref(macd,1) and 今收>今开,(今跌停-0.10),'持股'),shift3,colorff0099;{买入}
drawtext(今行情 and macd<=0 and macd>ref(macd,1) and 今收>今开,(今跌停-0.10),'持股'),shift3,color9900ff;{买入}
drawtext(今行情 and macd>0 and macd<=ref(macd,1) and 今收>今开,(今跌停-0.10),'持股'),shift3,color0066ff;{买入}
drawtext(今行情 and macd>0 and macd>ref(macd,1) and 今收>今开,(今跌停-0.10),'持股'),shift3,color0000ff;{买入}
drawtext(今行情 and macd>0 and macd>ref(macd,1) and 今收<=今开,(今涨停+0.10),'持币'),shift3,color00aaff;{卖出}
drawtext(今行情 and macd>0 and macd<=ref(macd,1) and 今收<=今开,(今涨停+0.10),'持币'),shift3,color00ffff;{卖出}
drawtext(今行情 and macd<=0 and macd>ref(macd,1) and 今收<=今开,(今涨停+0.10),'持币'),shift3,color00ffaa;{卖出}
drawtext(今行情 and macd<=0 and macd<=ref(macd,1) and 今收<=今开,(今涨停+0.10),'持币'),shift3,color00ff00;{卖出}
drawtext(今行情 and count(cross(diff,ref(diff,1)) or cross(macd,ref(macd,1)) or cross(dea,ref(dea,1)),3) and 今收>今开,(今跌停-0.20),'播种'),shift3,colorff00ff;
drawtext(今行情 and count(cross(diff,dea),3) and 今收>今开,(今跌停-0.20),'抢种'),shift18,color0000ff;
drawtext(今行情 and count(cross(ref(diff,1),diff) or cross(ref(macd,1),macd) or cross(ref(dea,1),dea),3) and 今收<=今开,(今涨停+0.20),'秋收'),shift3,color00ffff;
drawtext(今行情 and count(cross(dea,diff),3) and 今收<=今开,(今涨停+0.20),'抢收'),shift18,color00ff00;
drawtext(今行情 and count(cross(k,ref(k,1)) or cross(kdj,ref(kdj,1)) or cross(d,ref(d,1)),3) and 今收>今开,(今跌停-0.20),'播种'),shift3,colorff00ff;
drawtext(今行情 and count(cross(k,d),3) and 今收>今开,(今跌停-0.20),'抢种'),shift18,color0000ff;
drawtext(今行情 and count(cross(ref(k,1),k) or cross(ref(kdj,1),kdj) or cross(ref(d,1),d),3) and 今收<=今开,(今涨停+0.20),'秋收'),shift3,color00ffff;
drawtext(今行情 and count(cross(d,k),3) and 今收<=今开,(今涨停+0.20),'抢收'),shift18,color00ff00;
drawtext(今行情 and filter(cross(-15,diff),3),(今跌停-0.40),'备钱'),shift3,colorff00aa;
drawtext(今行情 and count(diff<=dea and diff>ref(diff,1) and diff<=-5,3) and 今收>今开,(今跌停-0.10),'抄底'),shift18,colorff00ff;
drawtext(今行情 and filter(cross(diff,-15),3),(今跌停-0.30),'出击'),shift3,coloraa00ff;
drawtext(今行情 and filter(cross(diff,15),3),(今涨停+0.40),'备货'),shift3,color00ffaa;
drawtext(今行情 and count(diff>dea and diff<=ref(diff,1) and diff>=5,3) and 今收<=今开,(今涨停+0.10),'逃顶'),shift18,color00ff00;
drawtext(今行情 and filter(cross(15,diff),3),(今涨停+0.30),'逃命'),shift3,color00aa00;
drawtext(今行情 and filter(cross(20,kdj),3),(今跌停-0.40),'备钱'),shift3,colorff00aa;
drawtext(今行情 and count(k<=d and kdj>ref(kdj,1) and kdj<=20,3) and 今收>今开,(今跌停-0.10),'抄底'),shift18,colorff00ff;
drawtext(今行情 and filter(cross(kdj,20),3),(今跌停-0.30),'出击'),shift3,coloraa00ff;
drawtext(今行情 and filter(cross(kdj,80),3),(今涨停+0.40),'备货'),shift3,color00ffaa;
drawtext(今行情 and count(k>d and kdj<=ref(kdj,1) and kdj>=80,3) and 今收<=今开,(今涨停+0.10),'逃顶'),shift18,color00ff00;
drawtext(今行情 and filter(cross(80,kdj),3),(今开+0.30),'逃命'),shift3,color00aa00;
drawtext(今行情 and 试买,(今跌停-0.40),'补仓'),shift18,coloraa00ff;
drawtext(今行情 and 追买,(今跌停-0.30),'满仓'),shift18,color0000ff;
drawtext(今行情 and 止盈,(今涨停+0.40),'减仓'),shift18,color00ffaa;
drawtext(今行情 and 止损,(今涨停+0.30),'空仓'),shift18,color00ff00;
drawtext(今行情 and ma5>ref(ma5,1),(今开-0.10),'5日均线向上('+numtostr(ma5,2)+')'),shift113,color0000fa;
drawtext(今行情 and ma5=ref(ma5,1),(今开+0.10),'5日均线走平('+numtostr(ma5,2)+')'),shift113,color00aaff;
drawtext(今行情 and ma5<ref(ma5,1),(今开+0.10),'5日均线向下('+numtostr(ma5,2)+')'),shift113,color00ffaa;
drawtext(今行情 and ma8>ref(ma8,1),(今开-0.20),'8日均线向上('+numtostr(ma8,2)+')'),shift113,color0000fc;
drawtext(今行情 and ma8=ref(ma8,1),(今开+0.20),'8日均线走平('+numtostr(ma8,2)+')'),shift113,color00ddff;
drawtext(今行情 and ma8<ref(ma8,1),(今开+0.20),'8日均线向下('+numtostr(ma8,2)+')'),shift113,color00dd00;
drawtext(今行情 and ma13>ref(ma13,1),(今开-0.30),'13日均线向上('+numtostr(ma13,2)+')'),shift113,color0000fd;
drawtext(今行情 and ma13=ref(ma13,1),(今开+0.30),'13日均线走平('+numtostr(ma13,2)+')'),shift113,color00ccff;
drawtext(今行情 and ma13<ref(ma13,1),(今开+0.30),'13日均线向下('+numtostr(ma13,2)+')'),shift113,color00cc00;
drawtext(今行情 and ma21>ref(ma21,1),(今开-0.40),'21日均线向上('+numtostr(ma21,2)+')'),shift113,color0000ff;
drawtext(今行情 and ma21=ref(ma21,1),(今开+0.40),'21日均线走平('+numtostr(ma21,2)+')'),shift113,color00aaff;
drawtext(今行情 and ma21<ref(ma21,1),(今开+0.40),'21日均线向下('+numtostr(ma21,2)+')'),shift113,color00aa00;
drawtext(今行情 and count(ma5>ma8 and ma8>ma13 and ma13>ma21,8)>=1,(今开-0.10),'短期均线多头排列'),shift165,color0000ff;
drawtext(今行情 and count(ma5<=ma8 and ma8<=ma13 and ma13<=ma21,8)>=1,(今开+0.10),'短期均线空头排列'),shift165,color00ffff;
drawtext(今行情 and count(ma8>ma21 and ma21>ma65 and ma65>ma108,21)>=3,(今开-0.20),'中期均线多头排列'),shift165,colorff00ff;
drawtext(今行情 and count(ma8<=ma21 and ma21<=ma65 and ma65<=ma108,21)>=3,(今开+0.20),'中期均线空头排列'),shift165,color00ff00;
drawtext(今行情 and count(ma21>ma65 and ma65>ma108 and ma108>ma248,65)>=3,(今开-0.30),'长期均线多头排列'),shift165,colorff00af;
drawtext(今行情 and count(ma21<=ma65 and ma65<=ma108 and ma108<=ma248,65)>=3,(今开+0.30),'长期均线空头排列'),shift165,color00af00;
drawtext(今行情 and cross(今收,ma5) and cross(今收,ma8) and cross(今收,ma13) and 今收>今开,(今开-0.50),'今日一阳上穿三线'),shift113,color0000ff;
drawtext(今行情 and cross(ma5,今收) and cross(ma8,今收) and cross(ma13,今收) and 今收<=今开,(今开+0.50),'今日一阴下破三线'),shift113,color00ffff;
drawtext(今行情 and longcross(今收,ma21,8) and 今收>今开,(今开-0.40),'今日一阳上穿月线'),shift165,colorff00af;
drawtext(今行情 and longcross(ma21,今收,8) and 今收<=今开,(今开+0.40),'今日一阴下破月线'),shift165,color00ff00;
drawtext(今行情 and longcross(今收,ma248,21) and 今收>今开,(今开-0.50),'今日一阳上穿年线'),shift165,colorff00ff;
drawtext(今行情 and longcross(ma248,今收,21) and 今收<=今开,(今开+0.50),'今日一阴下破年线'),shift165,color00af00;
drawtext(今行情 and count(cross(macd,0),3) and macd>ref(macd,1) and 今收>今开,今开,'行情走强后市要涨'),shift213,color0000ff;
drawtext(今行情 and count(cross(0,macd),3) and macd<ref(macd,1) and 今收<=今开,今开,'行情走弱后市要跌'),shift213,color00ff00;
drawtext(今行情 and macd>0 and count(cross(macd,ref(macd,1)),3) and 今收>今开,(今开-0.10),'强势启动后市要涨'),shift213,color0066ff;
drawtext(今行情 and macd>0 and count(cross(ref(macd,1),macd),3) and 今收<=今开,(今开+0.10),'强势回落后市看跌'),shift213,color00ffff;
drawtext(今行情 and macd<0 and count(cross(macd,ref(macd,1)),3) and 今收>今开,(今开-0.10),'弱势启动后市看涨'),shift213,colorff00ff;
drawtext(今行情 and macd<0 and count(cross(ref(macd,1),macd),3) and 今收<=今开,(今开+0.10),'弱势回落后市要跌'),shift213,color00ff66;
drawtext(今行情 and 空翻多 and 今收>今开,(今开-0.20),'空翻多总势要涨'),shift213,colorff00ff;
drawtext(今行情 and 空翻多 and 今收<=今开,(今开-0.20),'空翻多总势看涨'),shift213,color00ffaa;
drawtext(今行情 and 多头市场 and 今收>今开,(今开-0.20),'多占优总势要涨'),shift213,color0000ff;
drawtext(今行情 and 多头市场 and 今收<=今开,(今开-0.20),'多占优总势看涨'),shift213,color00aaff;
drawtext(今行情 and 多翻空 and 今收>今开,(今开+0.20),'多翻空总势看跌'),shift213,coloraa00ff;
drawtext(今行情 and 多翻空 and 今收<=今开,(今开+0.20),'多翻空总势要跌'),shift213,color00ffff;
drawtext(今行情 and 空头市场 and 今收>今开,(今开+0.20),'空占优总势看跌'),shift213,colorff00aa;
drawtext(今行情 and 空头市场 and 今收<=今开,(今开+0.20),'空占优总势要跌'),shift213,color00ff00;
drawtext(今行情 and 空翻多 and 今收>今开,(今开-0.30),'后市欲见底反弹'),shift213,colormagenta;
drawtext(今行情 and 多头市场 and 今收>今开,(今开-0.30),'后市欲惯性上扬'),shift213,colorred;
drawtext(今行情 and 多翻空 and 今收<=今开,(今开+0.30),'后市欲见顶回挡'),shift213,coloryellow;
drawtext(今行情 and 空头市场 and 今收<=今开,(今开+0.30),'后市欲惯性下挫'),shift213,colorgreen;
//其它辅助指标-二十四节气
jq:=lsolarterm(date);
drawtext(今行情 and jq=1,今开,'小寒'),shift93,colorcyan;
drawtext(今行情 and jq=2,今开,'大寒'),shift93,colorcyan;
drawtext(今行情 and jq=3,今开,'立春'),shift93,colorcyan;
drawtext(今行情 and jq=4,今开,'雨水'),shift93,colorcyan;
drawtext(今行情 and jq=5,今开,'惊蛰'),shift93,colorcyan;
drawtext(今行情 and jq=6,今开,'春分'),shift93,colorcyan;
drawtext(今行情 and jq=7,今开,'清明'),shift93,colorcyan;
drawtext(今行情 and jq=8,今开,'谷雨'),shift93,colorcyan;
drawtext(今行情 and jq=9,今开,'立夏'),shift93,colorcyan;
drawtext(今行情 and jq=10,今开,'小满'),shift93,colorcyan;
drawtext(今行情 and jq=11,今开,'芒种'),shift93,colorcyan;
drawtext(今行情 and jq=12,今开,'夏至'),shift93,colorcyan;
drawtext(今行情 and jq=13,今开,'小暑'),shift93,colorcyan;
drawtext(今行情 and jq=14,今开,'大暑'),shift93,colorcyan;
drawtext(今行情 and jq=15,今开,'立秋'),shift93,colorcyan;
drawtext(今行情 and jq=16,今开,'处暑'),shift93,colorcyan;
drawtext(今行情 and jq=17,今开,'白露'),shift93,colorcyan;
drawtext(今行情 and jq=18,今开,'秋分'),shift93,colorcyan;
drawtext(今行情 and jq=19,今开,'寒露'),shift93,colorcyan;
drawtext(今行情 and jq=20,今开,'霜降'),shift93,colorcyan;
drawtext(今行情 and jq=21,今开,'立冬'),shift93,colorcyan;
drawtext(今行情 and jq=22,今开,'小雪'),shift93,colorcyan;
drawtext(今行情 and jq=23,今开,'大雪'),shift93,colorcyan;
drawtext(今行情 and jq=24,今开,'冬至'),shift93,colorcyan;
//其它辅助指标
drawtext(今行情 and 今开>前收 and 涨跌幅>2.875,(今开-0.10),'涨跌幅('+numtostr(涨跌幅,2)+')'),shift78,color33acff;
drawtext(今行情 and 今开=前收 and 涨跌幅>2.875,(今开-0.10),'涨跌幅('+numtostr(涨跌幅,2)+')'),shift78,color33cdff;
drawtext(今行情 and 今开<前收 and 涨跌幅>2.875,(今开-0.10),'涨跌幅('+numtostr(涨跌幅,2)+')'),shift78,color33deff;
drawtext(今行情 and 今开>前收 and 涨跌幅<=-2.875,(今开+0.10),'涨跌幅('+numtostr(涨跌幅,2)+')'),shift78,color33ffde;
drawtext(今行情 and 今开=前收 and 涨跌幅<=-2.875,(今开+0.10),'涨跌幅('+numtostr(涨跌幅,2)+')'),shift78,color33ffcd;
drawtext(今行情 and 今开<前收 and 涨跌幅<=-2.875,(今开+0.10),'涨跌幅('+numtostr(涨跌幅,2)+')'),shift78,color33ffac;
drawtext(今行情 and 今收>今跌停 and 今收<今涨停 and 振幅>2.875 and 今收>今开,(今开-0.20),'振幅('+numtostr(振幅,2)+')'),shift78,colorac33ff;
drawtext(今行情 and 今收>今跌停 and 今收<今涨停 and 振幅>2.875 and 今收<=今开,(今开+0.20),'振幅('+numtostr(振幅,2)+')'),shift78,color33ffac;
//其它辅助指标
drawtext(今行情 and 今率>0 and 今率<=1,今开,'成交低靡-地量('+numtostr(今率,2)+')'),shift113,colorgray;
drawtext(今行情 and 今率>1 and 今率<=2,今开,'成交疲弱-无量('+numtostr(今率,2)+')'),shift113,colorgray;
drawtext(今行情 and 今率>2 and 今率<=3,今开,'成交温和('+numtostr(今率,2)+')'),shift113,colorgray;
drawtext(今行情 and 今率>3 and 今率<=5,今开,'成交活跃('+numtostr(今率,2)+')'),shift113,colorcyan;
drawtext(今行情 and 今率>5 and 今率<=8,今开,'带量成交('+numtostr(今率,2)+')'),shift113,colorwhite;
drawtext(今行情 and 今率>8 and 今率<=13,今开,'放量成交('+numtostr(今率,2)+')'),shift113,colorwhite;
drawtext(今行情 and 今率>13 and 今率<=21,今开,'巨量成交('+numtostr(今率,2)+')'),shift113,colorwhite;
drawtext(今行情 and 今率>21,今开,'怪异成交-天量('+numtostr(今率,2)+')'),shift113,colorwhite;
//其它辅助指标
买盘比:=((今收-今低)/(今高-今低))*100*var2/var2;//((var3-var4)/(var5-var4))*100*var2/var2//买方、多头、多方、支撑、抵抗
卖盘比:=(100-买盘比);//卖方、空头、空方、压力、阻力
买卖对比:=(买盘比-卖盘比),color00ccff,linethick0;//买卖力度对比
vara6:=ma(今率*买盘比,5);
varb6:=ma(vara6,3);
drawtext(今行情 and vara6>varb6 and vara6>ref(vara6,1),今开,'场外资金介入强烈'),shift165,color0000ff;
drawtext(今行情 and vara6>varb6 and vara6<=ref(vara6,1),今开,'场内资金临时出局'),shift165,color00ffff;
drawtext(今行情 and vara6<=varb6 and vara6>ref(vara6,1),今开,'场外资金临时介入'),shift165,colorff00ff;
drawtext(今行情 and vara6<=varb6 and vara6<=ref(vara6,1),今开,'场内资金出局强烈'),shift165,color00ff00;


陈氏解盘a01(副)

  >>>使用本站搜索工具可以找到更多陈氏解盘A01副公式 飞狐陈氏指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文陈氏解盘A01副公式 飞狐陈氏指标 源码仅供学习研究。

猜你喜欢

学了又学