Deleting Stop Loss
-
How can I delete the Stop Loss of an Active ORder?
-
Well you could just not put a Stop Loss in the first place...
Why would you want to delete the Stop Loss if you already have one....?
-
@Morpheus_0 I need to reference Auto Loss sizing mechanic using Risk X amount of Money which would not work without a SL which I dont need for my logic
-
Hmm... Well there may be a way to do it but it's beyond me I'm afraid.
There is a Modify Stops Of Trades block but it doesn't have a Delete option.......
You could use it to move the SL far, far away.....But do you need to actually delete it...?
Regards*
-
@Morpheus_0 yeah, think I'll have to move SL far away once order is being triggered.
if SL is far initially, it calculates wrongly based on distance relative to what I want
-
If that works then yes.....Not sure you can program the EA to delete it....I could be wrong....
Sry, best I could come up with :-))
-
@Morpheus_0 should be possible just limited in programming.
would appreciate if a code structure can be worked on
-
You can delete the SL from existing trade the same way you delete it from a new trade: set the SL level at 0.
-
@roar that works... thanks
-
@tec-nacks this is crazy o
IT worked yesterday and checking now, the value its gave yesterday is different from today's
what wrong?
https://fxdreema.com/shared/GCHQFEjid
Normally the lot value for 1% of 10000 bal is 0.02 now its just different
-
How different is it...?
Could be due to spread or price movement....
Also with that set up it will open a trade every candle...Is that what you want...?
And yep, building EAs will put you in a straight jacket no doubt :-))
-
@Morpheus_0 that's just a pre-build structure to test out a concept
honestly it just shitting
-
Ok. Well that setting is not risking a %....It is risking $100 and adjusts the SL accordingly*
-
@Morpheus_0 yes but the value of money is always a X-percent of the balance..
When I did it yesterday, it worked by opening at 0.02 now its just ....