- Search Forex Factory
- 10 Results
- WHRoeder replied Jan 31, 2016
I tried this on build 950. It worked on a M5 chart and a D1 but hung on another H4.
Guppy Count Back Line Indicator
- WHRoeder replied Jan 18, 2016
url Indicator RenkoLiveChart.mq4 9 KB is pre build 600. It can not be used. Get the current generator (From the MT4 codebase) that has been updated for build 600+ (2014) The terminal is now at 950. If the generator does not write tick volume, ...
EA won't trade live on MT4 Renko
- WHRoeder replied Jun 18, 2014
On the mql4 site it was shown that double[][n] arr; ArraySort(arr) sorts by the zeroth index. I've also implemented several sorts. See Could EA Really Live By Order_History Alone? - MQL4 forum
Can MT4 sort a data array from largest to smallest?
- WHRoeder replied Jun 18, 2014
Not usually - C3P0 sent me a PM on mq4. I'm mostly interested in code and non-obvious techniques. If you pique my interest, you never know.
how to get the data from a Structure Array?
- WHRoeder replied Jun 18, 2014
It's exactly the same int ints[9]; int i = ints[2]; struct ab{ int a; int b }; struct abs[9] struct s=abs[2]; Print(s.a); //or just Print( abs[2].a );
how to get the data from a Structure Array?
- WHRoeder replied Dec 26, 2012
bool isClear2D(double arr[][], double v=0.){ for (int i=ArrayRange(arr,0)-1; i>= 0; i--) for (int j=ArrayRange(arr,1)-1; j>= 0; j--) if (arr[i][j] != v) return(false); return(true); }
Article: Effective usage of Arrays in MQL
- WHRoeder replied Apr 14, 2012
According to url Bars will sometimes be reduced back to max bars on chart and IndicatorCounted() will return zero when that happens.
Article: Effective usage of Arrays in MQL
- WHRoeder replied Sep 4, 2011
string PriceToStr(double p){ return( DoubleToStr(p, Digits) ); } : datetime OOT = OrderOpenTime(); // Assumes OrderSelect() done already int iOOT = iBarShift(NULL,0, OOT); // Bar of the open #define iBarCURRENT 0 // Include current bar int nSince = ...
Watch this example and correct it
- WHRoeder replied Apr 14, 2010
Very informative, now I understand the use of asSeries. However, there is one problem with the above code. Once the number of bars on the chart reaches the maximum (tools -> options -> charts,) then Bars will no longer change, resize won't do ...
Article: Effective usage of Arrays in MQL
- WHRoeder replied Sep 25, 2009
always >= MarketInfo(Symbol(),MODE_STOPLEVEL) * Point
Why am I getting this error?
- Posts by Member Search: 'WHRoeder'