SQX build 136 Dev2 code error
3 replies
Olax
1 year ago #278446
It looks like there is a bug in the recent release of SQX – build 136 Dev2. Code generated for every engine seems to contain an error in stop loss and or take profit thereby preventing it from compiling. I have attached a pseudo code for your reference.
Would you look into this?
Thanks a lot!
tomas262
1 year ago #278455
Hi,
what you show is pseudoc code and I can see this
Stop Loss = StopLoss1 pips;
Profit target = 462%;
This means SL uses the variable StopLoss1 that is set by default to 50 (pips)
PT is set to be 462% of the initial trade price
Do you have problems compiling the MQL version of the code?
Olax
1 year ago #278458
Hi Tomas,
All the strategies I have built using the build136 Dev 2 for either Mql4 or Tradestation failed to compile. Below is an extract from the MQL code :
“// StopLoss & ProfitTarget
sqSetSLandPT(_ticket, sqGetSLLevel(“Current”, OP_BUYSTOP, OrderOpenPrice(), 1, StopLoss1), !!Incorrect SL or PT Set!!);
”
I attached the MQL code for your reference.
Thanks!
Reuben
tomas262
1 year ago #278459
I see now. Thank you for reporting. This will be fixed into next dev update we plan to release very soon
Viewing 3 replies - 1 through 3 (of 3 total)