Reply

How to customize generated mql5 code

1 replies

ludvick

Customer, bbp_participant, community, 2 replies.

Visit profile

5 years ago #236196

i am trying to do some custom changes in mql5 code generated by SQX 112.

so, for example there is a function which contains an error:

double sqFixMarketPrice(double price, string symbol){
…..

return NormalizeDouble(price, (int) SymbolInfoInteger(symbol, SYMBOL_DIGITS));
and it should be:

return NormalizeDouble(finalPrice, (int) SymbolInfoInteger(symbol, SYMBOL_DIGITS));

}

I know that the content it is in SQ.mqh but for some reason it is reset everytime i start the program.

and i also need to send the SL and TP with the orderSend but i dont know where this codes are….

Thank you

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #236219

Hello,

you can edit code part in \extend\Code\MetaTrader5 and appropriate files but with next update it can be replaced

0

Viewing 1 replies (of 1 total)