B135 MQL code - MainChartTickSizeSQ -1

why there was made this change in the MQL code?



each strategy MQL code has this value for ticksize
extern double MainChartTickSizeSQ = -1.0;



is this correct or not? because MQL code from B133 has different values for ticksize, for example this strategy for EURUSD has this value
extern double MainChartTickSizeSQ = 1.0E-4;

Attachments
  • Votes +3
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

h
#1

hankeys

02.10.2021 20:19

Task created

E
#2

Emmanuel

03.10.2021 14:36
Voted for this task.
h
#3

hankeys

07.10.2021 07:41
Voted for this task.
h
#4

hankeys

07.10.2021 07:42
really still no response from devteam? WTF...
HH
#5

Hans

03.02.2022 23:59
Voted for this task.
TT
#6

Tamas

09.09.2022 14:13
Duplicate https://roadmap.strategyquant.com/tasks/sq4_8420
TT
#7

Tamas

09.09.2022 14:14

Subject changed from B135 MQL cod to B135 MQL code - MainChartTickSizeSQ -1

g
#8

Lee Guan Chuan

12.09.2022 02:12

Status changed from New to Fixed

Hi hankeys,


I have tested the issue. If the MainChartTickSizeSQ or SubchartTickSizeSQ shows -1. It is an incorrect value. 
You can retest the strategy with SQX, which should generate the TickSize correctly. 


This is what I did.

  1. Loaded a strategy that shows -1 for MainChartTickSizeSQ or SubchartTickSizeSQ
  2. I run either backtest in AlgoWizard or Retester. The value shows correctly after this.

Votes: +3

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please