Buy-Sell EA
-
I have succesfully created an EA, which buys & sells when the SMA5 crosses above SMA10 & sells vice versa. However, the SL is not fixed, moves with price.

-
@satoriforex2k18 Hi, remove the link from "trailing stop" block and let me know
-
I will but i wanted the EA to have a trailing stop.
-
It still does move with the bars, its not fixed
-
@satoriforex2k18 here you go

-
this is what i tried, i want TSL to move & stay 500 pips from buy/sell price when pricelevel hits 1000 pips from buy/sell

-
@satoriforex2k18 I'd place a "if trade" block before the for each block. Are you sure about 1100 pips? That would be 11000 points!!! It may take a while till that condition is met if ever.
-
i want to use the EA on ViX 75, hence the 1100 pips. See below link as this is how i would like to see the TSL work
https://support.3commas.io/hc/en-us/articles/360010887654-Trailing-Stop-Loss-follow-the-trend -
@satoriforex2k18 now it's clear, you should put the right setting of the pips value of the tool you want to trade in the project options

-
@ambrogio Thanks, but the minimum i would prefer is 100 pips, as you know how ViX75 moves. Would you advise of the format....
-
@satoriforex2k18 please, make a screenshot of marke watch like this, with your ViX75 and spread column

-

there you go. I really appreciate your support
-
@Satoriforex2k18 Coming back to your initial question. The link you provided shows from my perspective a regular trailing based on pips. You just have to specify the right numbers to the start and step values.
Or do I misunderstand you?
In that case you can use a regular trailing stop block. Assuming that your TSL should stay 500 pips away from last high (when in profit) you'd specify trailing start 1000 and trailing step 500. Hence price always has room for retracing 500 pips from last high. Is that correct? -
@trader-philipps that's right, please advise of the trailing stop block to use...
-
@satoriforex2k18 From what you wrote I understood this:

But be careful with the spread.
That means:
Trailing start: Price has to travel 1000 pips in order to start the trailing
Trailing step: Price has to mover another 500 pips until next SL adjustment
Trailing stop: distance from current price, when adjustment takes placeI use Once per bar as a time filter as it is sufficient for my requirements. You may want to use a different time filter or don't use it.
-
@satoriforex2k18 what's the price 289829.......?
-
@ambrogio yes
-
@satoriforex2k18 i don't see the price, what's the price?
-
-
@trader-philipps you advise i change my pink blocks to what you suggested as per screen shot?
