TradingView
VertMT
31 de Jul de 2022 00:51

[MT Trader] Backtest template w/ Supertrend Strategy 

Descrição

â‹…
---EN: In this strategy template you will find some functions already pre-programmed to be used in your strategies to speed up the programming process, among them we can highlight the default stop loss and take profit functions, which will help to set easily and quickly, defining the price range in which we want to prevent large losses or protect our profits from unexpected market movements.

🔴Stop Loss: Among the functions of the stop loss are the 4 most known, first we have the fixed percentage range (%) and price ($), when the price reaches this fixed price will limit the losses of the operation avoiding larger losses, then we have the average true range (ATR), a moving average of true range and X period that can give us good reference points to place our stop loss, finally the last point higher or lower is the most used by traders to place their stop loss.
In addition, the price range between the entry and stop loss can be converted into a trailing stop loss.

🟢Take Profit: We have 3 options for take profit, just like stop loss, the fixed range of percentage(%) and price($), are available, in addition to this we have the 1:# ratio option, which multiplies by X number the range between the entry and stop loss to use it as take profit, perfect for strategies that use ATR or last high/low point for their strategy.

📈Heikin Ashi Entrys: The heikin ashi entries are trades that are calculated based on heikin ashi candles but their price is executed in Japanese candles, thus avoiding the false results that occur in heikin candlestick charts, making that in certain cases better results are obtained in the strategies that are executed with this option compared to Japanese candlesticks.

📊Dashboard: A more visual and organized way to see the results and data needed for our strategy.


Feel free to use this template to program your own strategies, if you find bugs or want to request a new feature let me know in the comments or through my telegram @hvert_mt
__________________________________________________________________________________________________________________________________________________

---ES: En esta plantilla de estrategia podrás encontrar algunas funciones ya pre-programadas para ser usadas en tus estrategias para acelerar procesos de programación, entre ellas podemos destacar las funciones por defecto de stop loss y take profit, que ayudaran a establecer de manera fácil y rápida, definiendo los rango de precio en los que queremos prevenirnos de perdidas grandes o proteger nuestras ganancias de movimientos inesperados del mercado.


🔴Stop Loss: Entre las funciones del stop loss están las 4 más conocidas, en primer lugar tenemos el rango de porcentaje fijo(%) y el precio($), cuando el precio alcance este precio fijo se limitaran las perdidas de la operación evitando perdidas mas grandes, después tenemos el promedio de rango verdadero(ATR), una media móvil del rango verdadero y X periodo que nos puede dar buenos puntos de referencia para colocar nuestro stop loss, por ultimo el ultimo punto mas alto o mas bajo es de los mas usados por los traders para colocar su stop loss.
Adicional a esto, el rango de precio entre la entrada y el stop loss se puede convertir en un trailing stop loss.

🟢Take Profit: Tenemos 3 opciones para take profit, al igual que en el stop loss, el rango fijo de porcentaje(%) y precio($) se encuentran disponibles, adicional a esto tenemos la opción de ratio 1:#, que multiplica por X numero el rango entre la entrada y el stop loss para usarlo como take profit, perfecto para estrategias que usen ATR o ultimo punto alto/bajo.

📈Entradas Heikin Ashi: Las entradas Heikin Ashi son trades que son calculados en base a las velas Aeikin Ashi pero su precio esta ejecutado a velas japonesas, evitando así los falsos resultados que se producen en graficas de velas Heikin, esto haciendo que en ciertos casos se obtengan mejores resultados en las estrategias que son ejecutadas con esta opción en comparación con las velas japonesas.

📊Panel de Control: Una manera mas visual y organizada de ver los resultados y datos necesarios de nuestra estrategia.


Siéntete libre de usar esta plantilla para programar tus propias estrategias, si encuentras errores o quieres solicitar una nueva función házmelo saber en los comentarios o a través de mi Telegram: @hvert_mt
Comentários
badVolatile
â‹…
I would like a day of the week filter
RothschildPuppy74
â‹…
Esta muy bien diseñado. Te agradezco mucho. Si queres un feedback en cuanto a mejoras, seria que se pueda agregar un indicador propio, como EXTAERNAL INDICATOR, y que de ahi tome las señales para abrir Long y/o Short. Gracias otra vez!
gmeneguzzo
â‹…
Fantastic, is there a way to add alerts too ?
EMI_Trend
â‹…
Beautifull work.
KoraBrno4mmRL
â‹…
To late signals red and green, fix this please
Fixmin
â‹…
@KoraBrno4mmRL, this is a Backtest template , no be buy and sell indicator.
VertMT
â‹…
@KoraBrno4mmRL
EN: I think that the "red and green signals" you refer to the triangles that are below and above the candles, those are the pivot points, its function is to detect the last high/low point to place a stop loss on those values, not knowing in real time if you already touched a high or low point you need to have some delay to be confirmed the value, these signals are not and should not be used as points of purchase and sale, for that is included the "Supertrend Strategy" inside the indicator, likewise if you still do not feel satisfied and want to have less delay in the pivot points you can configure it in the parameter "Last H/L Left" in the stop loss section inside the template options, you can reduce the delay to only one candle but in return you will have many more alerts than those that come by default, greetings, and I hope you enjoy the template.

ES: Pienso yo que a las "señales rojas y verdes" te refieres a los triángulos que están abajo y encima de las velas, esos son los puntos de pivote, su función es detectar el ultimo punto mas alto/bajo para poder colocar un stop loss en esos valores, al no saber en tiempo real si ya tocaste un punto alto o bajo se necesita tener cierto retraso para que sea confirmado el valor, estas señales no son ni deberían usarse como puntos de compra y venta, para eso esta incluido la "Estrategia Supertrend" dentro del indicador, de igual manera si aun no te sientes conforme y quieres tener menos retraso en los puntos de pivote puedes configurarlo en el parámetro "Last H/L Left" de la sección de stop loss dentro de las opciones de la plantilla, puedes reducir su retraso a solo una vela pero a cambio vas a tener muchas mas alertas que las que vienen por defecto, saludos, y espero que disfrutes de la plantilla
Mais