how to create condition to close trade only when break even + X pips
5件の返信
i am looking for something simple but am new so could not figure out how to do this.
I want to close an open trade based on an indictor reaching a certain level. I can figure out that part but I only want the trade to close IF the trade is break even PLUS X pips.
I already have the indicator part done, I have it closing when the indicator reaches the level that I want, but there are other situations where it the indictor is not going to close the trade because the time has expired and now I want the trade to close, but only if it is break even. but of course with swaps and commissions I need to add some more to it to make sure it is not closing at loss. so I need the trade to be either break even plus X pips or I need to specify the actual profit in pips for the open trade.
how can I do that?
ありがとう
smitty
0
こんにちは,
ok, I will prepare the example EA for this
0
ありがとう
also my time filter is not working but i cannot see why anywhere online or any other examples of how to do it?
if bid crosses below BB band (20,0,2)
そして
(( timecurrent > get time(1,0,0)
そして
time current < get time(4,59,59) )
または
(timecurrent > gettone(17,0,0)
そして
time current<gettime(23,59,0) ))
0
i have solved the time issues. but still don’t have a way to create a break even PLUS
0
Ok, will make an example on this and post
0
こんにちは,
you can setup breakeven + x pips as shown in the sample attached. Let me know if any questions
0
5件の返信を表示中 - 1 - 5件目 (全5件中)