This website uses cookies to enhance site navigation, analyze site usage, and assist in our marketing efforts. By clicking “Accept All” you are providing your consent to our use of all cookies. Alternatively, please provide your choice by pressing “Customize Cookies”. For more information, please read our Privacy policy
phil.weekes
03 Jul 2020, 19:00
RE:
PanagiotisCharalampous said:
Thanks Panagiotis, I really appreciate the help. I added in a couple of parameters for the stop loss then wrote a piece of code in for the stop loss like I have already have for my take profit as below:
double SL_in_pips = 0.0;
if (UseSL == true)
SL_in_pips = StopLoss;
I then adjusted the line of code that you suggested and it works perfectly.
Kind regards,
Phil.
@phil.weekes