Download MetaTrader 5

Indicators: Display Ask-Bid

To add comments, please log in or register
Do you know that MQL5 has event handling?
MetaQuotes Software Corp.
Moderator
181072
MetaQuotes Software Corp. 2012.02.06 11:02 

Display Ask-Bid:

This code simply display ask-bid value.

Author: Makoto Ishii

MQL4 Comments
16319
MQL4 Comments 2012.02.11 16:21  
Thank you for your code. It works fine in strategy Tester MQl4, however, if I try to attach it to a chart it doen get attached. What is the solution?
Tjipke de Vries
6315
Tjipke de Vries 2012.02.11 22:13  
zaffrono:
Thank you for your code. It works fine in strategy Tester MQl4, however, if I try to attach it to a chart it doen get attached. What is the solution?

Look again when markets are open
MQL4 Comments
16319
MQL4 Comments 2012.02.12 10:44  
Thanks for your quick respond. I was able to run the program and attach it after I deleted this line:
#property indicator_chart_window

Another question I have is that how I could show many lines on the chart using your EA. For example, with one command and using \"n\ you could show more lines on the chart. Thank you for your help.


Tjipke de Vries
6315
Tjipke de Vries 2012.02.13 16:32  
zaffrono:
Thanks for your quick respond. I was able to run the program and attach it after I deleted this line:
#property indicator_chart_window

Another question I have is that how I could show many lines on the chart using your EA. For example, with one command and using \"n\ you could show more lines on the chart. Thank you for your help.



You simply put the indicator in experts file That was wrong

Indicators belong In subdirectory of experts called indicators

If you had opened that map and put it in there then there was no need to delete

#property indicator_chart_window

You will find the program then if you open the platform by Custom Indicators

Your other question is something to ask at Forum

To add comments, please log in or register