PROTECTED SOURCE SCRIPT
Atualizado PTM Triggers AND/OR with OffTriggers 2.0

This script is for Profit trailer addon PT Magic . If you are familiar it will help you.
So i decided to consolidate it a bit and made one script for all possible conditions that there are.
You have to add the script and set the trigger as you want them you then have a selection of AND / OR condition between the triggers and a number fo Triggers you want to apply. Casue you still can use 8 triggers but you dont have to 8 is the maximum i will not be adding more since that would be overoptimizing the strategy.
YOU will the get a nice indicator on the bottom showing the price change momentu for each trigger you defined. If you added the Minchange / Maxchange percentages right the are the trigger will apply on will be marked aqua. if you are using just one of those MinChange / Maxchange please add a masive number so that all will be taken into considerations. The basic rule is script always expects a number.
After that i added the the possibility of Offtriggers. It is very useful in scenarios as you have a coin in a long term downtrend but the moment you see the coin finding a bottom you will use the offtrigger. You have option to turn it OFF as defaul or again AND / OR conditions with the number of triggers you are using again max 8.
- do not foget the candlesize when changing the timeframe
- not all conditions you can create make sense think about them a before saying it does not work
- if you are happy follow / comment
So i decided to consolidate it a bit and made one script for all possible conditions that there are.
You have to add the script and set the trigger as you want them you then have a selection of AND / OR condition between the triggers and a number fo Triggers you want to apply. Casue you still can use 8 triggers but you dont have to 8 is the maximum i will not be adding more since that would be overoptimizing the strategy.
YOU will the get a nice indicator on the bottom showing the price change momentu for each trigger you defined. If you added the Minchange / Maxchange percentages right the are the trigger will apply on will be marked aqua. if you are using just one of those MinChange / Maxchange please add a masive number so that all will be taken into considerations. The basic rule is script always expects a number.
After that i added the the possibility of Offtriggers. It is very useful in scenarios as you have a coin in a long term downtrend but the moment you see the coin finding a bottom you will use the offtrigger. You have option to turn it OFF as defaul or again AND / OR conditions with the number of triggers you are using again max 8.
- do not foget the candlesize when changing the timeframe
- not all conditions you can create make sense think about them a before saying it does not work
- if you are happy follow / comment
Notas de Lançamento
Correction for OfftriggersScript protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
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 protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
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.