TradingView
Noldo
7 feb 2021 14:24

MACD 50x Leveraged Strategy Real Equity Simulation  

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Descrizione

Hello, I wrote this script to merge the two scripts I shared before.
The aim here is to see the real value of the state of the capital as a result of leveraged transactions and to combine both long and short directions.
Scripts :

MACD Long 50x Leverage Strategy :
tradingview.com/script/WwUaqcLg-MACD-50x-Leveraged-Long-Strategy-Results-with-Real-Equity/

MACD Short 50x Leverage Strategy :
tradingview.com/script/PAdPhuKR-MACD-50x-Leveraged-Short-Strategy-with-Real-Equity/

The parameters have not changed so they are the same as the previous two scripts:

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

  • Position Size : %1 (0.01) (For each trade)

  • Stop-Loss : %2 (For each trade)

  • Long : Crossover(delta,0) (Standard MACD)

  • Long Exit : Long Stop Level or Short Entry
    (In the case of Long Stop, all trades are closed and no positions are opened in short direction.)

  • Short : Crossunder(delta,0) (Standard MACD)

  • Short Exit : Short Stop or Long Entry
    (In the case of Short Stop, all trades are closed and no positions are opened in the long direction.)


NOTE :
This is a simulation made using standard parameters, showing the state of the balance in very simple rules with leveraged transactions only.
The nice thing here is the direct observation of the results by making modifications on the strategy parameters.
Regards.

Note di rilascio

Net capital bug fixed.
Commenti
Noldo
This script needs an update.
I ' will update it as single direction ones when i have enough time.
(Equity and simple profit calculator)
singaporeano
@Noldo, I have a few ideas to bounce off you with this strategy. I tried sending you an inbox message but TV wouldn't let me because I'm not a premium user. Is there any way I can contact you? Or could you send me an inbox message perhaps?
Altro