hornsALERT / Publications
Forum
'OnTick' and OnTimer
I would like to run my EA at a predefined interval irrespective of when/ if the EA gets any new ticks from the server. I am trying something like this extern int _tick = 1 ; //+------------------------------------------------------------------+ //| Start function
Strange broker error
I get the error 1 parameter for ArraySize function must be an array with a particular broker . How could this be explained? double _V[],_value; if ( ArraySize (_V)> 0 ) { Print ( " V value:.. " ,_value, " V first:.. " ,_V[ 0 ], " V last:.." ,_V[ ArraySize (_V)- 1 ], " V max:.." ,_V[ ArrayMaximum
AccountLeverage()
What does this function return... It seems some, if not all, brokers have different leverage for the various symbols. Typically metals & commodities tend to have different leverage from fx products
Price Buffers Script
This script allows you to access price buffers for open, high, low, and close as we used to in MT4 plus yo can get the highest and lowest prices too
Infinite sleep under server 2k3 64bit
Under build 355, my EA works fine with windows vista home premium x32 however on windows server 2003 x64 an infinite sleep error is detected. Below is a snippet for my data access. Is this a bug ? bool Cssneye::InitBuffer( int handle, double &buffer[], int bufferindex, int bufferstart, int