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, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?