Dwaine Hinds
Dwaine Hinds
NetrillioN
Hi. I am a freelance coder and my background is Airway Computer science and airport management. According to some persons, my approach to problems tends to be highly ambitious and bold. I think this comes from my tendency to oversimplify things. Fortunately for me, I normally findout that a problem was difficult after I have solved it.
Dwaine Hinds
Published code Theil_Sen Indicator Free
This indicator draws a trend-line directly on a chart. It uses the Theil Sen Estimation method to calculate the slope of the trend-line. Theil–Sen estimation is a method for robustly fitting a line to sample points in the plane (simple linear regression) by choosing the median of the slopes of all lines through pairs of points.
Dwaine Hinds
Added topic Observation Concerning MetaQuotes
Hi. This post is not a rant nor a complaint; it is simply my observation. I think the MT4 and MT5 have surpassed the creators' expectation, as they never anticipated to get this number of customers from around the world. On the Metaquotes wiki page
Dwaine Hinds
Published code Ichimoku Kinko Hyo2
Ichimoku Kinko Hyo is an indicator that tracks the equilibrium of momentum and identify likely areas of support and resistance. The Ichimoku chart is composed of five (5) separate indicator lines. These lines work together to form the complete "Ichimoku picture".
Dwaine Hinds
Added topic Coincidence or cointegrated?
Hi. My EA trades multiple pairs simultaneously and I encountered a situation today I am trying to understand. Using a custom keltner channel indicator, I received a "BUY"(Long) trade signal from each of these pairs: EURUSD, EURJPY, EURCHF, CADJPY
Dwaine Hinds
Added topic How to confirm breakout trades with volume in code?
Hi, Many professional traders recommend using volume to confirm breakouts. They say one can confirm a breakout when there is a spike in volume. I am looking to test this in an ea but can't translate it into code exactly. Now, how would one quantify a
Dwaine Hinds
Added topic how to reliably get current bid/ask?
As customary, many of us will use: SymbolInfoDouble ( NULL , SYMBOL_BID ); or SymbolInfoDouble ( NULL , SYMBOL_ASK ); or MarketInfo( NULL ,MODE_ASK); and those will work ok most of the time, however, for some of us they return 0 while implemented in
Dwaine Hinds
Added topic How to calculate 2 period EMA?
Hi. I am seeking some clarification on calculating the EMA(exponential moving average). Using the  iMA function like so: double arr[ 3 ] = { 1.3051 , 1.3041 , 1.3047 }; //last three bars' closing prices array double ema1 = iMAOnArray2(arr, 2
Dwaine Hinds
Added topic How to Calculate OrderSwap() Manually?
Hi. I am trying to derive the formula used by OrderSwap(). Is it like so: Orderswap = (MarketInfo(currentsymbol,MODE_TICKVALUE)/MarketInfo(currentsymbol,MODE_TICKSIZE))* MarketInfo(currentsymbol,MODE_POINT) * OrderLots();
Dwaine Hinds
Added topic Comparing Swap Rate to Spread
Hi. I am seeking validation on a strategy from some experienced traders. The strategy is simply to avoid negative swap trades when it is best to do so. When I refer to negative swaps I am referring to trades involving open positions that if left past
Dwaine Hinds
Added topic How to get iADXOnArray or iADX on custom array?
Good day everyone. I am trying to calculate the ADX value for an entire array. Is there a way I can substitute in my custom array into the iADX that comes with MT4? If not, I am already attempting to build an iADXOnArray function that I would like to
Dwaine Hinds
Added topic Futures CFD Dollars Per Point Value
Since the contract specifications of a cfd is derived from the actual futures contract ,in theory, is it safe to assume they both must have the same dollars per point value (Big point)? If not then what is a common relation between all cdf and
Dwaine Hinds
Registered at MQL5.community