Draw line from current pip with X pips
-
Hi, how do i draw a horizontal line when :-
- trade is triggered
- at X pip away from triggered price
- line fixed at that level until no more trade, to delete the line and start back again when new trades are triggered.
It sounds simple but i never did get it right.
-
Well, at least you need two variables. One for the X pip distance and another one controlling when to delete it. Do you know how to draw lines on fxDreema?
-
Yes i do, but i do not know how to draw the line for e.g 50 pips away from the open trade. If it's a sell, it must be +50 pips, and if it's a buy -50 pips down. The idea is for the EA to alert me when price crosses those lines..
-
@normy For that you can use the "adjust" field. + upward, - downward.
-
@cpxiom ok got it.. but how do i make it into a Variables which i can input the value in the Expert properties. Different Pairs do have different settings.
-
@normy Create a constant (not variable) ... That will show up as an input field, at the EA settings (the variable doesn't).
Then in the adjust field right click, and you can select the constant variable.