0
Follow
0
Followers
Die Abweichung von hundert Grad, die zuvor im Internet veröffentlicht wurde
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
B:=BARSLAST(REF(CROSS(DEA,DIFF),1));
Hinter- und Rückseite: REF ((H, B+1) <H AND DIFF<REF ((DIFF, B+1) AND CROSS ((DEA, DIFF);
Aber die Funktionen von ref barslast sind nicht definiert. Gibt es eine Möglichkeit, sie zu realisieren?
Related Recommendations
Get Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization5.4 Why do we need an off-sample test5.3 How to read the strategy backtest performance report
Comment
All comments (5)
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:(DIFF-DEA)*2;
B:BARSLAST(REF(CROSS(DEA,DIFF),1));
// IF(REF(H,B+1)<H AND DIFF<REF(DIFF,B+1) AND CROSS(DEA,DIFF),SK,BK);
IF(REF(H,B+1)<H AND DIFF<REF(DIFF,B+1),SK,BK);麻烦小草啦,是这样的,这段代码没报错,但是每次运行一个月或者一年,小时k线,却都没有一次交易,不知道是不是代码原因,小草可以帮我看一下嘛?谢谢啦
7 years ago
- 1
