通达信公式吧 关注:134贴子:154
  • 0回复贴,共1

请老哥帮个忙,我有两个公式通达信公式想合并成一个

只看楼主收藏回复

第一个
MAXC:=MAX(MAX(MAX(MAX(MA(C,5),MA(C,10)),MA(C,20)),MA(C,30)),MA(C,60));
MINC:=MIN(MIN(MIN(MIN(MA(C,5),MA(C,10)),MA(C,20)),MA(C,30)),MA(C,60));
T1:=COUNT(MAXC/MINC<1.07,5)>=2;
蛟龙出海:=O<=MA(C,5) AND O<=MA(C,10) AND O<=MA(C,20) AND C>=MA(C,5) AND C>=MA(C,10) AND C>=MA(C,20);
均线多头:=MA(C,30)>=REF(MA(C,30),1) AND MA(C,20)>=REF(MA(C,20),1) AND MA(C,55)>=REF(MA(C,55),1);
T2:=蛟龙出海 AND 均线多头;
A1:=COST(80);
A2:=COST(20);
A3:=A1-A2;
A4:=(A1+A2)/2;
T3:=COUNT(A3/A4*100<20,4)>=3;
T4:=H/C<1.0053;
T1 AND T2 AND T3 AND T4; {AND T3 };
第二个
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
A62:=MMS<MMM;
MTM金叉:=IF(A6,6,0),COLORRED;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
A52:=CLOSE<BBI;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
A42:=LWR1<LWR2;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
A32:=RSI1<RSI2;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
A22:=K<D;
DIF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIF,5);
A1:=DIF>DEA;
A11:=DIF<DEA;
六指标:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
ZXT:=0.5;
XG:CROSS(六指标,ZXT);


1楼2020-05-25 13:36回复