Download MetaTrader 5
To add comments, please log in or register
Code Base will help you in mastering your theoretical skills. Come and learn!
Stephen Njuki
5147
Stephen Njuki 2011.08.15 23:10 

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
5147
Stephen Njuki 2011.08.22 18:32  
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
626
zifu wang 2011.08.22 19:11  
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