Download MetaTrader 5

Setting a non fixed Price Level

To add comments, please log in or register
Stephen Njuki
5206
Stephen Njuki  

When I try to do this from my expert advisor, I get the error -1,#INF.

If I set this from the signal script, printf reveals it has changed however ExpertSignal still indicates it as 0.0000

My question is how do we set a dynamic price level?


PS price level is the variable in ExpertSignal for setting pending order's entry price.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Order Properties - Documentation on MQL5
Stephen Njuki
5206
Stephen Njuki  
Metaquotes I would appreciate some response to this query please especially since this is not the first time am raising this. I have also had similar problems with base price as also pointed out by Kwang.

zifu wang
636
zifu wang  
ssn:
Metaquotes I would appreciate some response to this query please especially since this is not the first time am raising this. I have also had similar problems with base price as also pointed out by Kwang.

Yes, there should be an issue. please refer https://www.mql5.com/en/forum/4478
To add comments, please log in or register