OPEN-SOURCE SCRIPT
Atualizado MA Emperor insiliconot Strategy

Converted EmperorBTC's EMA crossover indicator for easy backtesting and added ability to:
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.
- 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.
Notas de Lançamento
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
Notas de Lançamento
Updated formula for pivot pointsNotas de Lançamento
Missed out a line to comment out for alertNotas de Lançamento
- 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
Notas de Lançamento
Left the old floating shapes commented out in case anyone prefers themScript de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.