[Build 137 RC4] Price is above / below Parabolic SAR



If we use the Price is above / below Parabolic SAR function  :   (Image 0 , image 1)


 the price is replaced with sqBid("....") for   :  "Price is above  Parabolic SAR" function, this is correct.


This is not the best to replace the price   with sqBid(".....") for    :   Price is below Parabolic SAR function :  


In case of larger spread, it would be better to replace the price with sqAsk("....") for Price is below Parabolic SAR function















Attachments
image-1.png
(23.38 KiB)
image-0.png
(22.71 KiB)
image-2.png
(60.40 KiB)
  • Votes +1
  • Project AlgoWizard
  • Type Bug
  • Status New
  • Priority Normal

History

E
#1

Emmanuel

13.09.2023 12:31

Task created

E
#2

Emmanuel

13.09.2023 12:31
Voted for this task.
E
#3

Emmanuel

13.09.2023 12:33

Description changed:



If we use the Price is above / below Parabolic SAR function  :   (Image 0 , image 1)


1/      In both case, AlgoWizard, will replace the price with sqGetBid{"NULL") instead of sqGetBid{"current")
(image 2)
This bug will prevent the strategy from running correctly.

"current" is necessary for the function correctSymbol()


2/ Furthermore, if the the price is replaced with sqBid("current") for   "Price is above  Parabolic SAR" function, this is correct.


This is not the best to replace the price   with sqBid(""current) for    Price is below Parabolic SAR function :  


In case of larger spread, it would be better to replace the price with sqAsk("current") for Price is below Parabolic SAR function















E
#4

Emmanuel

13.09.2023 17:44

Attachment PriceIsAboveBelowPSAR.mp4 deleted

E
#5

Emmanuel

13.09.2023 17:51

Description changed:



If we use the Price is above / below Parabolic SAR function  :   (Image 0 , image 1)


1/      In both case, AlgoWizard, will replace the price with sqGetBid{"NULL") instead of sqGetBid{"current") in MQL5  ?
(image 2)

sqGetBid seem to work with "NULL" with MQL5,  but shouldn't be "current"instead  ?


2/ Furthermore, if the price is replaced with sqBid("....") for   :  "Price is above  Parabolic SAR" function, this is correct.


This is not the best to replace the price   with sqBid(".....") for    :   Price is below Parabolic SAR function :  


In case of larger spread, it would be better to replace the price with sqAsk("....") for Price is below Parabolic SAR function















E
#6

Emmanuel

14.09.2023 16:57

Description changed:



If we use the Price is above / below Parabolic SAR function  :   (Image 0 , image 1)


 the price is replaced with sqBid("....") for   :  "Price is above  Parabolic SAR" function, this is correct.


This is not the best to replace the price   with sqBid(".....") for    :   Price is below Parabolic SAR function :  


In case of larger spread, it would be better to replace the price with sqAsk("....") for Price is below Parabolic SAR function
















Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please