Type/to search

Stratégie de canal basée sur l'indicateur de volatilité ATR

ATR
6
Follow
951
Followers

Idée : Stratégie adaptative de canal, stop-loss fixe + take-profit flottant
Logiciels compatibles : 发明者最最化/文华财经
Période de données : Multi-période
Contrat de données : Contrat indice
Contrat de trading : Futures de marchandises / Crypto-monnaies

Source
MyLang
(*backtest
start: 2018-11-01 00:00:00
end: 2018-12-01 00:00:00
period: 1h
exchanges: [{"eid":"Futures_BitMEX","currency":"XBT_USD"}]
args: [["ContractType","XBTUSD",126961]]
*)

SLOSS:=2;
N:=200;
M:=4;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
Comment
All comments (1)

    这两句什么意思?
    //这样理解对不对?(最高价突破四个大周期的最高价 或者 跌破布林线上轨) 并且 建仓以来的利润搞过8%????
    (H>=HHV(H,MN) OR C<=UBAND) AND BKHIGH>=BKPRICE(1+MSLOSS0.01),SP;
    (L<=LLV(L,MN) OR C>=DBAND) AND SKLOW<=SKPRICE(1-MSLOSS0.01),BP;

    7 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)