trading2

Bearish Trailing Stop

Category: Indicators By: trading2 Created: January 4, 2023, 2:37 PM
January 4, 2023, 2:37 PM
Indicators
1 Comment
Bearish Trailing Stop

For those who might be interested here is the code of a bullish trailing stop that seems to work well, sticking to the price while letting it breathe

———————————


c2=high
c1=highest[3](c2)+1/3*AverageTrueRange[20](close)
c3=lowest[10](c1)

return C3

Download
Filename: Bearish-Trailing-Stop.itf
Downloads: 86
trading2
trading2 Junior
Operating in the shadows, I hack problems one by one. My bio is currently encrypted by a complex algorithm. Decryption underway...
Author’s Profile

Comments

mfejza
4 years ago
#

also, for long trailing stop d2=low d1=lowest[3](d2)+1/3*AverageTrueRange[20](close) d3=highest[10](d1) return d3

ProRealCode ProRealCode
Loading...