adr_adr

Simple MACD Strategy

adr_adr ที่อัปเดต:   
This simple MACD strategy takes in account a given a time frame and the basic MACD parameters ( short, long, signal values).
The current implementation does not takes persistance or thresholds in accounts.
เอกสารเผยแพร่:
EMA open instead of close value in calculation
เอกสารเผยแพร่:
Option for choosing open / close for ema calculation function
เอกสารเผยแพร่:
Custom label in for EMA input switch
เอกสารเผยแพร่:
Strategy update:
  • after the long trade closed it automatically opens a short trade until the next MACD crossover, when short is closed and long is opened.
เอกสารเผยแพร่:
Updated switch for Short and Long strategy options
เอกสารเผยแพร่:
Long Short switch update
เอกสารเผยแพร่:
"Short only" option added to strategy types
เอกสารเผยแพร่:
Multiple updates issued:
  • Threshold values implementation, which can offset the MACD histogram crossing value. Eg.: thresholdUp: +10 => Long open triggers at MACD histogram value 20
  • Persistance implementation, which sets a history offset after crossing over threshold
  • Gekko strategy mode for using thresholdUp/thresholdDown and persistence
  • Plotting persistance - last bar since cross
เอกสารเผยแพร่:
This update merges the previously developed threshold and persistence values into the basic Long/Short/Long&Short strategies.

All strategy types are currently supporting the original Gekko MACD strategy parameters. If you don't need threshold and persistence values use zero values in those parameters.

Changelog:
  • Pyramiding OFF by default
  • Initial capital set to 6500 by default
  • Long/Short/Long&Short final startegies implemented
  • Bars since buy/sell are calculated and plotted based on threshold and persistence
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้เผยแพร่แบบปิดและคุณสามารถใช้มันได้อย่างอิสระ คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้แต่คุณจะไม่สามารถดูหรือแก้ไขซอร์สโค้ดได้
คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?