Forum

Alert twice: 5 min before candle close and close

Hi, Im searching code to add on my mq4 indicator helpping me Alert twice: 5 min before candle close and close. May u know this code function . Kindly help me

Code the value of longest candle body

Dear my friend, How can I get the longest candle body in a period (IE: from candle i to candle [i+A]), just compare the bearish candle

Help to fix EA

Dear my friends, I already code an ea followed this rule: 1. Open Order Buy when Price touch Low bollinger Bands , Close once it touch Mid band( SMA20), Sl 25 pip, tp 50 pip 2. Open Order Sell when Price touch Upper bollinger Bands, Close once it touch Mid band( SMA20), Sl 25 pip, tp 50 pip. it work

Code auto trailing stop loss at (specific time)

Hi Every one, May you help me text code that help me trail stop loss or proit at specific time . I need to insert to my mq4 EA. For example, for my ea, I wanna move my stop loss to entry price after EU current time (9h00 mt4 time) if the order is in profit And move profit to entry price if the order

Get 1 notification per 2 consecutive bars (30 mins for timeframe 15 min)

Kindly help me this issue. Below is MA cross alert, but I got too many messages per 1 same notification. I just wanna get 1 notification per 2 consecutive bars, it means number of bars is 2 to skip before next alert. How can I do, kindly help me. Thank you so much

[Strategy] Pinbar in good position (follow trend)- need to code indicator (EA)

Hi everyone, As you know that pinbar is oneof the strongest powerful pattern in trading especially if its followed by trend. The strategy for scalping is very simple. 1. Trend is determined by EMA(21) [blue line] and SMA(50) [red line] +if EMA(21)>SMA(50)-->up trend +if EMA(21)<SMA(50)-->down trend

how to add time frame on message notice

Dear, kindly help me add timeframe on message notice for this indicator. For example: when I attach this indicator on M15 time frame on NZDUSDpro it will notice "NZDUSDpro M15 NZDUSDpro at 21:14:19 Red crossed line" instead of just now "NZDUSDpro NZDUSDpro at 21:14:19 Red crossed line" and when I