Greetings.
This is and update to my original indicator "Intraday Trailing Stop Loss".
With this update it allows you manually setup the your entry price for the trade and desired stop loss value for either long or short positions.
The trailing stop will dynamically follow the price movement if price goes into the desired direction and will not change when price goes in undesired direction.
When price will cross the indicator line, the signal will appear on chart suggesting terminate position.
It's also possible to set up a regular chart Alert based on this condition.
Example for Short position
To setup indicator click on "Settings" and enter
- Entry Price
- Position (short or long). Default is long.
- Stop loss in $. Default $0.2
- Time and Date of entry (Minute, Hour, Date, Month, Year). Indicator can span on multiple sessions.
To setup Alert.
- Right click on indicator line and select "Add Alert on ....." (first entry in list)
- Use all defaults
Due to Pine script limitations following is very important.
1. When indicator first time applied it will not show anything until all input values are entered.
2. As soon as input values are set it will appear on chart and could be adjusted further.
3. For indicator to work properly entered information should be as accurate as possible. For example if the entry price was not actually available on the time bar you using the indicator behaviour is not fully predictable.
4. Since absolute value of stop loss is used the indicator will not automatically work when you switch securities plotted on the chart. Multiple chart window can use separate indicator settings
This is and update to my original indicator "Intraday Trailing Stop Loss".
With this update it allows you manually setup the your entry price for the trade and desired stop loss value for either long or short positions.
The trailing stop will dynamically follow the price movement if price goes into the desired direction and will not change when price goes in undesired direction.
When price will cross the indicator line, the signal will appear on chart suggesting terminate position.
It's also possible to set up a regular chart Alert based on this condition.
Example for Short position
To setup indicator click on "Settings" and enter
- Entry Price
- Position (short or long). Default is long.
- Stop loss in $. Default $0.2
- Time and Date of entry (Minute, Hour, Date, Month, Year). Indicator can span on multiple sessions.
To setup Alert.
- Right click on indicator line and select "Add Alert on ....." (first entry in list)
- Use all defaults
Due to Pine script limitations following is very important.
1. When indicator first time applied it will not show anything until all input values are entered.
2. As soon as input values are set it will appear on chart and could be adjusted further.
3. For indicator to work properly entered information should be as accurate as possible. For example if the entry price was not actually available on the time bar you using the indicator behaviour is not fully predictable.
4. Since absolute value of stop loss is used the indicator will not automatically work when you switch securities plotted on the chart. Multiple chart window can use separate indicator settings
Notas de Lançamento:
Small corrections
Notas de Lançamento:
Tags added