Forum

Help With Indicator Calculation

Hi, I am trying to code the RelativeSlope indi. The Rslp buffer always returns a "zero"when it is just a 3 periode EMA of the PLOT1 buffer. I would appreciate some advice about what is causing this issue. Thanks in advance #property indicator_separate_window #property indicator_buffers 2 #property

Problems monitoring takeProfit

if (SellMarketCount( Symbol (),MagicNumber)== 0 && BuyMarketCount( Symbol (),MagicNumber)== 0 ) { int TP=MonitorTakeProfit( Symbol (), MagicNumber); if (TP== 1 ) { Calcel_All(); Reentry=false; EAActivated=false; } } -----

Custom Charts with specific time range

Hi, It is possible with metatrader to create charts of the US market hours only. For example. from 09:00 to 15:30? Thanks in advanced

Help Coding a basic indicator

Hi, I come fron another platform and language, so I am new in MQL4. This is a really simple version of the RAVI indicator. It is giving me some error when I try to load it in the chart. I would appreciate if someone could fix it for me, so I could learn the right procedure. The indi is only a Line