amando / Publications
Forum
not working anymore
Hello, long time ago, that i used mql5 the last time but why i dont the right value out there? value = iHigh ( _Symbol , PERIOD_CURRENT , iHighest ( _Symbol , PERIOD_CURRENT , MODE_HIGH , 20 , 0 )); it should give me the highest price of the last 20 candles regards amando
Draw Histogram in Color
Hello, i tried to get a Histogram with 2 colors but i dont find out, how to became the second color. //+------------------------------------------------------------------+ //| MACrossHisto.mq5 | //|
Order Expire in datetime MQL4
Helle, in older days, the order expire was a function of Seconds, now it use the datetime and this is a miracle for me since i use MQL4. can someone help me, how do program on a pending order, that the expiration is after 30 minutes? OrderSend ( Symbol (), OP_SELLSTOP
CIATR Error 4806
Hello, im try to use the CTrade ATR Indicator class, void ATRGrid( const string symbol, const double bid) { ResetLastError (); ATRValue= 0 ; if (!atr.Create(symbol,ATR_TF,ATR_Periode)) Print ( "Fehler beim erzeugen des ATR" ); ResetLastError (); atr.Refresh(); ATRValue =
_Period
Hello, I always was thinking that gives back the Period in Minutes, that works pretty well till the timeframe 30min I tried it out and get following results what's happen here? thanks
OnDeinit
Hello, is there a way, to see in OnDeinit, which was the last codeline? or where i come from? thanks
Custom Symbols
Hello, does anyone have an idea why I cannot use void RenkoCharts::Stop() { //--- ResetLastError (); Comment ( "" ); MarketBookRelease (renko_symbol); ObjectDelete ( 0 ,custom_symbol); ResetLastError (); string Name = ChartSymbol (); int Stelle = StringFind (Name, "_" , 0 );
CIATR
Hello, I tried to use for the ATR calculation the include files, but I always get Empty Value out here the script #include <Indicators\Indicator.mqh> CIndicator _indi; #include <Indicators\Oscilators.mqh> CiATR atr; void OnStart () { atr.Create( _Symbol , PERIOD_CURRENT , 14 ); Print
return of selected position
Hello, is there an way, to get the position Ticket from an position what is selected in the toolbox inside of MQL5? as example the blue line