1.通达信公式怎么合并
2.LWR图 如何加入 10日均线
通达信公式怎么合并
两个公式合并是源码l源没有问题,但是源码l源inceptionv3 源码,第二个公式最后的源码l源股票pws战法源码公式DD函数没有输出,好像没什么意义(故加了一句XG:SS OR DD),源码l源物联网平台源码整套也许您另有用途,源码l源爱尔兰离意大利源码故合并后的源码l源安卓系统源码定制源码如下:
(如果对您有帮助,请记得采纳答案,源码l源谢谢)
DIFF:=EMA(CLOSE,源码l源8)-EMA(CLOSE,);
DEA:=EMA(DIFF,5);
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*;
K:=SMA(RSV1,3,1);D:=SMA(K,3,1);A2:=K>D;LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*;
RSI2:=(SMA(MAX(CLOSE-LC,0),,1))/(SMA(ABS(CLOSE-LC),,1))*;
A3:=RSI1>RSI2;RSV:=-(HHV(HIGH,)-CLOSE)/(HHV(HIGH,)-LLV(LOW,))*;
LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,3,1);A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,)+MA(CLOSE,))/4;
A5:=CLOSE>BBI;MTM:=CLOSE-REF(CLOSE,1);
MMS:=*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=*EMA(EMA(MTM,),8)/EMA(EMA(ABS(MTM),),8);
A6:=MMS>MMM;
涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);
丁丁1:=EMA(C,3),COLORWHITE;
丁丁2:=EMA(C,5),COLORYELLOW;
丁丁3:=EMA(C,7),COLORBROWN;
丁丁4:=EMA(C,),COLORLIGREEN;
丁丁5:=EMA(C,),COLORRED;
SS:=CROSS(丁丁1,丁丁2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.
OR CROSS(丁丁1,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.
OR CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.
OR CROSS(丁丁1,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1. AND CROSS(丁丁1,丁丁4);
DRAWICON(SS,L-0.,5);
DD:=CROSS(丁丁2,丁丁3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.
OR CROSS(丁丁2,丁丁5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.
OR CROSS(丁丁3,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.
OR CROSS(丁丁2,丁丁4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1. AND CROSS(丁丁1,丁丁5);
XG:SS OR DD;
LWR图 如何加入 日均线
打出LWR指标,右键选择修改,源码l源在弹出的源码l源窗口里输入一个新参数:P 1
在源码区域输入(放在LWR源码的下边):
MA2:MA(CLOSE,P1);
即:
RSV:= (HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*;
LWR1:SMA(RSV,M1,1);
LWR2:SMA(LWR1,M2,1),colorwhite;
MA1:MA(CLOSE,P1);
不知道是不是你想要的?