Forum

iHigh iClose

Dear Friends I was using this codes to get todays high and yesterdays low values in MT4. double ToDayHigh=iHigh(NULL,1440,0); double YesterDayLow=iLow(NULL,1440,1); Whats the code in MQL5 for the same. Thanks Noufel

Candle Counter

I would like to know whether there is a mt4 indicator to count the number of bull and bear candles seperately in a chart for a given time intervel. Eg: I want to know how many candles were bulls or bears in the last 2 hour period in a 5 minutes chart. Regards Noufel

Array Function

Sir, I am using different indicators and calculations to identify levels of good support and resistance. Most of the time i get 5 or 6 differenet values. eg: 1. Daily R2 2. BB upper band level, etc.. How to identify the value close to the current bid. Means the lowest value above the current level

Time Identifier

Hi I was trying to add a time based condition to my EA. I wanted to identify the the last "time" when a pair crossed a particluar Bid/Ask price. Eg: Time1=Last Time when the pair went below Bid 1.32501, Time2= Last Time when the pair went above Bid 1.32855. How to code this. Please help me. Regards

Expert Advisor for limit order

Friends I am in search for an EA for limit order (buy/sell) with trailing stop, sl and tp function . The trailing stop should put a stop at breakeven point when the trade reaches 10 pips in profit and thereafter at a fixed percentage of the profit for every 10 or 15 pips profit movement. Very happy