Happy new year everyone:
Short question regarding the "storage" of a specific value (entryprice):
Lets say I want to implement a Stop Loss based on the low of the last 10 bars, once I entered a position:
Sell("Stop") all shares next bar at (Lowest(Low, 10)[1]) stop;
This code works but I dont want the Stop Loss to "move" as I am in a position adapting the stop of the low of the last 10 bars, it shall always be that fixed low from my entryprice- how do I do that?
Best regards
Jonas
Connect Entry Price with lows [SOLVED]
- Angelina MultiСharts
- Posts: 260
- Joined: 28 Dec 2016
- Has thanked: 28 times
- Been thanked: 66 times
Re: Connect Entry Price with lows
Hello Jonny473,
Please find an example attached.
Please find an example attached.
- Attachments
-
- StaticStopPrice.pla
- (1.86 KiB) Downloaded 283 times