Andrew Thompson
Andrew Thompson
  • Information
5+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Andrew Thompson
Added topic SymbolsTotal() problem?
So here is part of my program, in a function designed to loop through all the Symbols in Market Watch : Print ( "assetlist = " ,assetlist); bool selected = assetlist == "SELECTED" ? true : false ; Print ( "selected = " ,selected); if ( StringFind
Andrew Thompson
Added topic Coding valuewhen() too short for an article - lol
Introduction - the problem When developing an Expert Advisor, or an indicator, it is not uncommon that we want to find the value of a series x when series y last had a value z, or in other words when a condition was last satisfied. This is so common
Andrew Thompson
Added topic HELP REQUESTED - Conversion from MQ4 to MQ5 - Object properties setting
I am having difficulty with the following code: bool LabelCreate( const string             name= "Label" ,             // label
Andrew Thompson
Added topic Smoothed ADX on Heiken Ashi Bars (with thanks to TradingView)
TradingView calculates their DMI (equivalent to MT4 ADX) on the bars used, i.e. when you select Heiken Ashi bars for the price display, the Open and Close values for the ADX calculation are the modified HA values. In addition, their DMI takes an
Andrew Thompson
Added topic Please help - iRSIOnArray
I am trying to plot the RSI of an indicator, "xxx.mq4", as follows: #property indicator_buffers 1 #property indicator_color1 Red #property indicator_width1 2 //---- buffers double ExtMapBufferCustomIndicator[]; double
Andrew Thompson
Published code EURX - Finally, having found the calculation for the Euro Index - here it is
This indicator calculates and displays the Euro Index and 2 definable moving averages. In order for it to work, the broker must provide prices for all the reference pairs, i.e. EURUSD, EURJPY, EURGBP, EURSEK, EURCHF.
Andrew Thompson
Registered at MQL5.community
Andrew Thompson
Added topic Help with array please
I wish to place external variables in an array. I have tried this: extern int        Int1 = 0 ; extern string     PString1 = "" ; extern string     SString1 = "" ; extern int