[langtitle=en]HELP in advisor[/langtitle]

jnash

Прохожий
[lang=en]Hi,

can someone help me in programming? I need the part of code that set the STOP LOSS at the Low(High) of the previous inside bar if I'm in Long(Short) and the TAKE PROFIT is set (STOPLOSS)/2.

example:

If the inside bar on EURUSD closed, for example, with high and low at 1.2376 to 1.2394, then you open a buy if the next bar reaches 1.2395. After the SL is set at 1.2376 ant TP at 1.2404.
I hope I explained it well ...

Thanks.[/lang]
 
Верх