Noldo

MACD 50x Leveraged Long Strategy Results with Real Equity

Noldo Actualizado   
Hello there.
I was looking for a way to simulate leveraged transactions in Tradingview and this script came out.
You can examine the equity graph without looking at the strategy results.
Thus, the facts will come to light.
Strategy parameters:

Adding margin: Forbidden or not specified. (Add Margin : No)

  • Position size: (for each trade) 1%
  • Stop-Loss: (2%)
  • Long: macd crossover
  • Exit: macd crossunder

Or ofc touching the stop-Loss value as predicted.

Warning: This strategy simulation is for Long direction only.
Regards.


Notas de prensa:
Correction in line 37:
98% of the average entry price is taken as the Stop-Loss value.
(2% below the average entry price)
Notas de prensa:
Net capital bug fixed.
Notas de prensa:
We forgot to add principal position size if we win.
The previous version was wrong.
Because he saw the starting position size as a loss.

I also designed the percentage profit calculation much simpler.
I will do this update when I have enough time.
Notas de prensa:
Apology!
I was skeptical after high success rates.
The old version was correct.
Change (Strategy.position_size) statement already adds prinsipal position size.
Update cancelled.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?