sorry, just had to get some attention for my problem, could anyone help with in programming a stoploss, the draw down on my EA is exhausting, although it has produced some good results
at the top of the code among the other settings that say external before them ( e.g external double LotSize = 0.1;)
you need to add : external double StopLoss = 30; --> this can now be adjusted externally
now go to the piece of code that says OrderSend or ticket = OrderSend and place Ask-StopLoss*Point in the 6th slot like this :
this is a basic idea ...there are more things you can do like Normalizing the values before putting them into the OrderSend but
if you want it really modded you have to get a good coder or post the EA for the coders to look at or maybe send it to them via email.
Hi there and thank you for your input, i copy and pasted your surgestion and bingo !!, thankyou very much it works a treat, i will stick with the simple version as it suits my nature ha ha!