HighestInRange function in Multicharts

HighestInRange ( and LowestInRange) function in Multicharts lags one bar.



This will cause the intra-day range break out system with these functions to not work normally.


I have tried to do some fixes, it looks correct, but still not sure. Please check it.




Attachments
highestinrange.png
(24.16 KiB)
highestinrange4.png
(30.36 KiB)
highinrange.pla
(8.90 KiB)
highestinrange2.png
(22.21 KiB)
highestinrange3.png
(22.10 KiB)
highestinrange5.png
(86.12 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

e
#1

eastpeace

02.09.2020 17:51

Task created

TB
#2

Tomas Brynda

06.10.2020 14:41

Status changed from New to Refused

Hi Eastpeace,

I think our implementation is OK, we include the TimeTo into the range and update the value on next bar. 

We use the same algorithm for all platforms.


If you want to use your own implementation, don't forget to modify also the SQ snippet.


Best regards,

Tomas

e
#3

eastpeace

09.10.2020 03:40
Is it correct?


We know the bar time on mulitcharts and mt4 is different, one is bar start time and another is bar end  time.

MF
#4

Mark Fric

09.10.2020 08:08
yes, one bar time is start time, another is end time of bar. I don't think we need to modify anything in SQ, you can set your times accordingly.

Alos, you have the possibility to choose the type of bars also in SQ.


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please