DIFF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,colorwhite,LINETHICK1;
DEA:EMA(DIFF,9),coloryellow,LINETHICK2;
MACD:2*(DIFF-DEA), COLORSTICK;
MACD1:2*(DIFF-DEA),colorred,linethick0;
MACD2:wma(MACD1,3),colorcyan,linethick0;
STICKLINE(MACD1>MACD2 and macd1>0,0,MACD1,2,0),colorred;
STICKLINE(MACD1>MACD2 and macd1<0,0,MACD1,2,0),coloryellow;
STICKLINE(MACD1<MACD2,0,MACD1,1,0),colorcyan;
s1:=MACD<0;
s2:= (MACD>=0);
s3:=BARSLAST(cross(diff,dea));
s4:=ref(s3,s3+1);
s5:=dea>ref(dea,s4);
s6:=dea;
上成立:=cross(diff,dea) and s5;
下成立:=cross(diff,dea) and s6;
L1:=(EMA(CLOSE,3) - EMA(CLOSE,13));
L2:=EMA(L1,9);
L3:=BARSLAST(cross(L1,L2));
L4:=ref(L3,L3+1);
L5:=L2;
变盘:cross(L1,L2) and L5,LINETHICK0,ColorD6FF9C;
STICKLINE(变盘,5,-5,4,1),linethick3,ColorD6FF9C;
成立距今:BARSLAST(cross(diff,dea)),LINETHICK0;
L6:=BARSCOUNT(CLOSE);
DRAWICON(CROSS(L1,L2),DIFF,7),ALIGN2,LAYER0;
DRAWICON(CROSS(L2,L1),DIFF,8),ALIGN2,LAYER0;
ref(dea,s3),POINTDOT,COLORGREEN;
IF(L1>L2,ref(dea,s3),0),POINTDOT,linethick5,ColorB078FF;
IF(MACD<0,ref(dea,s3),0),POINTDOT,linethick5,COLORGREEN;
VERTLINE(上成立,3),linethick3,Coloryellow;
VERTLINE(下成立,3),linethick3,Colorred;
PARTLINE(DIFF,DIFF>DEA),COLORff11cc,LINETHICK1;
PARTLINE(DIFF,DIFF>DEA AND DIFF<0),COLORred,LINETHICK1;
ls:=if(DIFF>DEA AND DIFF>0,1,0);
加速上扬:if(ref(ls=0,1) AND ls=1,0.1,0);
xg1:cross(MACD1,MACD2) and macd1<0,linethick0;
xg2:cross(diff,dea),linethick0;
m1:=macd>ref(macd,1) and diff<dea;
绿柱短了:m1 and count(m1,10)=1 and c>ma(c,55) and count(macd<0,5)>=5,linethick0;
drawtext(绿柱短了,macd,'绿柱短了');
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
请高手把下面飞狐改成通达信的,非常感谢!
修改后的公式如下,公式中包含未来函数,谨慎使用:F:=100*(C-REF(C,1))\/REF(C,1);今小昨:=IF(C<REF(O,1) AND F<0,1,0);S1:=今小昨;今小前:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;S2:=今小前;A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND ...
这个飞狐的副图如何修改才能用来作为通达信的副图呢?
rsv:=(c-llv(l,7))\/(hhv(h,7)-llv(l,7))*100;rsv1:=(c-llv(l,38))\/(hhv(h,38)-llv(l,38))*100;流金:sma(rsv1,5,1),colorfff000;岁月:sma(流金,10,1),color66cc33;drawband(流金,rgb(255,0,0),岁月,rgb(0,250,0));var2q:=ma(c,80)-ma(c,13)\/3;神奇线:=m...
请把飞狐指标改为通达信?
这段飞狐指标改为通达信指标代码效果如下图
求高手把这俩个 飞狐公式改成通达信公式,谢谢,主图和附图共俩个公式...
{主图:} 七天线:MA(C,7),COLORGRAY;工作线:(EMA(C,14)),POINTDOT,LINETHICK4,COLORYELLOW;生命线:(MA(C,25)),LINETHICK2,COLORMAGENTA;{不惑线:(MA(C,40)),COLORCYAN; } 姊妹线:(EMA(C,56)),POINTDOT,COLORWHITE;A3:=EMA(((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);...
请高手把这个飞狐指标改成通达信的
你的这公式飞狐编译通不过,我改的通达信可以用了,如果有问题,你先确定飞狐能用我在给你改 AA:=MA((2*CLOSE+HIGH+LOW)\/4,5);短高:AA*102\/100,DOTLINE;短低:AA*(200-102)\/100,DOTLINE;CC:=ABS((2*CLOSE+HIGH+LOW)\/4-MA(CLOSE,30))\/MA(CLOSE,30);DD:DMA(CLOSE,CC),RGB(255,0,...
...有一个飞狐的公式,求改写成通达信能用的。公式很简单。好像是第二...
DRAWTEXT_FIX(ISLASTBAR ,0.95,0.2,0,'潜伏'),COLORRED;STICKLINE(IF(TAI<REF(TAI,1) AND VOL>REF(VOL,1),1,0),0,TAI,1,0),COLORGREEN;STICKLINE(IF(TAI>REF(TAI,1) AND VOL<REF(VOL,1),1,0),0,TAI,1,0),COLORYELLOW;STICKLINE(IF(TAI<REF(TAI,1) AND VOL<REF(VOL,1),1...
飞狐SYSPARAM(1)函数改成通达信的怎么改啊?
这是个飞狐特有的光标跟随点位指标。通达信没有相应的函数可以替换。无法改!主力进场(通达信):N:=60;HH:=HHV(H,N);LL:=LLV(L,N);X:=HH-(HH-LL)\/5;VAR1:=REF((L+O+C+H)\/4,1);VAR2:=SMA(ABS(VAR1-L),13,1)\/SMA(MAX(VAR1-L,0),10,1); VAR3:=EMA(VAR2,10);VAR4...
请帮我 飞狐的一个公式 转换成 通达信的 非常感谢
J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);SE:=(SUM(J1-J2,3)-(VOL\/CLOSE<REF(CLOSE,1)))\/10000;SZ:=(SUM(J1-J2,5)-(VOL\/CLOSE<REF(CLOSE,1)))\/10000;长资金:EMA(SZ,55),COLOR0000FF;长趋势:WMA(长资金,360),COLOR00CC00,LINETHICK;IF(长资金>长趋势,长资金,长...
请把下面飞狐的公式改为通达信指标
STICKLINE((起点=1),HHV(H,160),LLV(L,160),0,0);累计量:=SUM(IF(MACD>0,V,0),起点+1);时段换手:累计量\/CAPITAL*100,NODRAW;控盘度:时段换手*13.3\/100,,NODRAW;成本区:(HHV(C,起点)+LLV(C,起点))\/2,NODRAW;平均成本:MA((HHV(C,起点)+LLV(C,起点))\/2,CONST(起点)),NODRAW;...
...如何转换成通达信软件能使用的均线系统,谢谢!
MA5:MA(C,5),COLORWHITE,LINETHICK1;MA13:MA(C,13),COLORYELLOW,LINETHICK1;MA21:MA(C,21),COLORDB70DB,LINETHICK1;MA34:MA(C,34),COLORGREEN,LINETHICK1;MA55:MA(C,55),COLORD9D919,LINETHICK1;MA89:MA(C,89),COLORBLUE,LINETHICK1;MA144:MA(C,144),COLORGRAY,LINETHICK1;MA233:...