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G,IF(DISP=1,3,0),1),COLORMAGENTA;
DRAWTEXT(DISP=2,ZSH,'中枢'),COLORWHITE;
中枢高:PLOYLINE(DISP=2,REF(ZSD,BARSLAST(TJ8))),COLORFF00FF
,POINTDOT,LINETHICK4;
中枢低:PLOYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8))),COLORYELLOW,POINTDOT,LINETHICK4;
中枢最高:PLOYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8))),POINTDOT,COLORRED;
中枢最低:PLOYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8))),POINTDOT,COLORGREEN;
趋势高:PLOYLINE(DISP=3,ZIG(1,K*N1)),COLORLIBLUE;
趋势低:PLOYLINE(DISP=3,ZIG(2,K*N2)),COLORLIBLUE;
局部低点预选A:=BACKSET(LLV(L,5)<REF(LLV(L,4),1),4);
局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2);
局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0);
局部高点预选A:=BACKSET(HHV(H,5)>REF(HHV(H,4),1),4);
局部高点预选B:=BACKSET(局部高点预选A=0 AND REF(局部高点预选A,1)=1,2);
局部高点预选C:=IF(局部高点预选B=1 AND REF(局部高点预选B,1)=0,1,0);
缺口判断:=IF(L>REF(H,1),1,IF(H<REF(L,1),-1,0));
能否把连接上下两个中枢的线段去掉,成为两个独立的中枢,粗线段改成细线段,就像立桩量主图那样的。请高手费心,在帮助改一下。衷心向高手表示谢意,谢谢!
请高手帮我把下面的通达信指标公式再修改一下
N1:=10;N2:=10;DISP:=2;K:=IF(PERIOD=5,1,{日} IF(PERIOD=6,1,{周} IF(PERIOD=7,1,{月} IF(PERIOD=8,1,{多分钟} IF(PERIOD=9,1,{多日} IF(PERIOD=10,1,{季} IF(PERIOD=11,2,{年} IF(PERIOD=4,1,{60F} IF(PERIOD=3,1,{30F} IF(PERIOD=2,1,{15F} IF(PERIOD=...
请高手将下面的通达信指标公式改写成同花顺指标公式,特急,谢谢!_百度知...
VAR2:=(SMA(ABS(LOW-VAR1),13,1))\/(SMA(MAX(LOW-VAR1,0),13,1))*4;VAR3:=EMA(VAR2,13);VAR4:=LLV(LOW,34);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);VAR6:=100-3*SMA((CLOSE-LLV(LOW,75))\/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75)...
请大师帮我将通达信附图指标公式改为选股公式
朋友,以下是你要的选股公式:A1:=EMA(C,12)-EMA(C,25);A2:=EMA(A1,6);获利回吐:=(A2>=0)*A2,COLORWHITE,LINETHICK0;大黑马:=(A2<0)*A2,COLORD4FF7F,LINETHICK0;坚绝做空:=(A1<0)*A1,COLORB00058,LINETHICK0;买入持股:=(A1>=0)*A1,COLORRED,LINETHICK0;VAR8:=VOL>2*MA(VOL,...
请高手把通达信主力资金公式修改一下,万分感谢 !
选股公式:RSV:=(CLOSE-LLV(LOW,13))\/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;TGLXS:=(TFXXS-REF(TFXXS,1));X:CROSS(TGLXS,0);
通达信公式请老师修改一下,能通过测试。
主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL\/2));量:=VOL;额:=AMOUNT\/100000000;流入额:=MA(主买,4)\/100000;流出额:=MA((0-主卖),4)\/100000;净流入:=SUM(流入额-流出额,0);价新高:=COUNT(H=HHV(H,开盘分钟数),30);量...
请高手把下列通达信指标公式改为选股公式,要求选出红柱,白柱。各一个...
VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))\/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)\/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)\/SMA(VAR14,13...
通达信公式,哪位高手能帮忙改下呀
EXP2:EMA(CLOSE,M2);RSV:=(C-LLV(L,9))\/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);主力:=EMA( (CLOSE-MA(CLOSE,3))\/MA(CLOSE,3),2);散户...
请指标高手们把下面通达信的公式改成东方财富通的公式!!
RMA:=EMA(CLOSE,7);NMA:=EMA(CLOSE,19);UP:DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0),COLORWHITE;DOWN:DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),...
请高手帮忙把以下通达信的公式改为大智慧的公式
我已经在大智慧中检验过,没有问题)。 大智慧版本公式如下: FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE); PERIOD5:=COUNT(DATE<>REF(DATE,1),2)=2; VVOL:IF(PERIOD5,VOL*240\/FROMOPEN,MA(C,0)); STICKLINE(PERIOD5,VVOL,0,-1,-1),COLOR00C0C0;...
把下面通达信指标公式改成条件选股公式
朋友,我测试了下,符合条件的股票好少,以上是你要的选股公式:JJ:=(CLOSE+HIGH+LOW)\/3;A:=EMA(JJ,10);B:=REF(A,1);M1:=EMA(CLOSE,3);M2:=EMA(CLOSE,8);M3:=EMA(M2,13);M4:=EMA(M2,55);VAR1:=EMA(M3,55);M5:=EMA(M4,81), COLORRED,LINETHICK2;VAR2:=(REF(HIGH,1)+...