Codes

Forex market session indicator for MetaTrader 4

This indicator shows the session of the four major forex markets:Sydeny,Tokyo,London and New York. It is helpful for day trader

Forum

EA using the crossing of 3 ema lines,simple and useful

//+------------------------------------------------------------------+ //| MaCross_EA_V3.mq4 | //| Revised by OldZ 2010-12-27 23:09 | //| Email: oldz.cn@qq.com | //|

Please help translate Russian comments into English

//+------------------------------------------------------------------+ //| SHI_Channel_true.mq4 | //| Copyright © 2004, Shurka & Kevin | //| |

Where is the output of print() ?

//+------------------------------------------------------------------+ //| testprint_function.mq4 | //| Copyright ?2010, MetaQuotes Software Corp. | //| http://www.metaquotes.net |

How to write data from double array to a CSV file ?

For example, there is a double array as below: double PriceHighList[100],which contains 100 elements. Now,I want to transfer the data in this array to a file named PriceHighList.csv,and the date should be saved as one element per line in CSV file. Which function should be used ? Is there anyone give

Why not provide a tool for counting the number of bars between two bars?

Why not provide a tool for counting the number between two bars? It just need to draw a horizontal line from one bar to another bar,and show the number above the line. I think it is easy for MataQuate engineer,and it is useful for cycles