[B135] "MoveSL2BE" in inputs section of MQL source code is INT instead of DOUBLE

This is how SQX currently exports the "MoveSL2BE" variable to MQL code:


input int MoveSL2BE = 15.5; //MoveSL2BE


It should be:



input double MoveSL2BE = 15.5; //MoveSL2BE


because SQX allows us to use decimals. The same problem exists with the StopLoss / TakeProfit, they are all exported as INT for the MQL source codes, but can be double in SQX.



Attachments
No attachments
  • Votes +7
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

g
#1

geektrader

13.02.2022 07:27

Task created

b
#2

bentra

13.02.2022 09:20
Voted for this task.
l
#3

Loonly

13.02.2022 09:37
Voted for this task.
o
#4

Enric

13.02.2022 09:49
Voted for this task.
DR
#5

mentaledge

13.02.2022 11:50
Voted for this task.
E
#6

Emmanuel

10.03.2022 04:07
Voted for this task.
g
#7

geektrader

14.03.2022 01:36
Voted for this task.
CG
#8

Chris G

18.04.2022 18:36
Voted for this task.

Votes: +7

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please