shawnteoh

MA Emperor insiliconot Strategy

shawnteoh 已更新   
Converted EmperorBTC's EMA crossover indicator for easy backtesting and added ability to:
  • Specify time period for backtesting
  • Specify order quantity
  • Toggle original indicators (default off)

Quoting EmperorBTC:
Entry is to be made when the
1. Cross over gives a P(Positive Sign) and the candle completely closes above the cross-over
2. When the Heikin Ashi turns green and the next green HA candle goes above the previous green HA candle.
3. The price should be at-least above the 0.236 Level from the Swing high.

Kindly note that the strategy only attempts to do check number 1, where it ensures the entry opens above the cross-over.
版本注释:
Updated to Pine Script v4 and implemented more checks before buying/selling:
  • Candle closes above / below the cross
  • Candle closes above 0.236 Fib / below 0.764 Fib from the most recent swing high / swing low
  • Next Heikin Ashi candle is green / red
版本注释:
Updated formula for pivot points
版本注释:
Missed out a line to comment out for alert
版本注释:
  • Simplified backtest range input
  • Alternate background color for signals instead of using floating shapes
  • Remove order quantity input, can be done via TradingView's in-built strategy properties which are much more robust
版本注释:
Left the old floating shapes commented out in case anyone prefers them
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?