OPEN-SOURCE SCRIPT
Atualizado

Initial template

I have created a starting template for strategies.

It allows quick control of turning on/off long and short conditions, or disabling them entirely.

It includes trade filters for strategy equity and volatility. If there is not enough volatility it will not trade, or if the strategy equity is below the equity ema it will not trade.

It has standard stops and limits.

Simply change the long/short conditions!

Notas de Lançamento
  • Added the exit logic from adolgov's stepped stop loss (
    Stepped trailing strategy example
    )
  • Added functions to record when condition is met and save the status of when strategy is long or short
  • Added option to wait for the trigger to open the position then wait for a better price
  • removed informational segments and old risk management parameters/orders
  • calculated a profitable strategy using the template
Notas de Lançamento
Added interoperable comments
Notas de Lançamento
Corrected the strategy
Notas de Lançamento
Comment feature at the top of script now

Aviso legal