Greetings ...
I've got an active EA that "works fine" but ... the logic is not quite correct.
The next thought is to tie the Trailing Stop Loss to an Indicator's value. My challenge is converting the indicator to a value that the EA can recognize.
So, I'm seeking a "section of code" that will allow the EA to operate with a TSL reading the ATR (Avg True Range) as follows: TSL = ATR+X where X = addt'l pips.
I'm reasonably good at "cut and paste" but the technical aspects of coding still escape me. Would appreciate if a "cut and paste" solution could be provided.
Thanks to all ...
Pip Parade
I've got an active EA that "works fine" but ... the logic is not quite correct.
The next thought is to tie the Trailing Stop Loss to an Indicator's value. My challenge is converting the indicator to a value that the EA can recognize.
So, I'm seeking a "section of code" that will allow the EA to operate with a TSL reading the ATR (Avg True Range) as follows: TSL = ATR+X where X = addt'l pips.
I'm reasonably good at "cut and paste" but the technical aspects of coding still escape me. Would appreciate if a "cut and paste" solution could be provided.
Thanks to all ...
Pip Parade