is my code the most efficient? - page 2

 
king2k23:


this is the refactored version after dabbler suggestions

i will look at the shell you've given me and first try to understand what's missing and then install it.

Did you write this code yourself ? or simply copy and paste it ?
 
onewithzachy:

Did dabbler even suggest that ... ?. LOL. I think dabbler gonna be ... eh ...negative (have no idea how to describe his reaction) reading your codes.

O boy ... look at that OrderSelect(). :D


I guess " suggest " was to strong of a word. Apologies, all i meant was I made some changes after reading dabbler's responses
 
RaptorUK:
Did you write this code yourself ? or simply copy and paste it ?


I wrote it myself of course if I'd copied and pasted it, I would have just went to the source for help.

 
king2k23:


I wrote it myself of course if I'd copied and pasted it, I would have just went to the source for help.

Yes . . . if you knew who the source was and if they could be contacted . . . but anyway . . .

Perhaps you can explain how this line works . . .

double osl = OrderStopLoss(); // osl stoploss value

. . . which Order are you getting the Stoploss for ?