Forum

MACD Signal Cross alert

Hi, I'm new to mql4 I wrote too many alert, but because they indicator used Array, I couldn't write the alert for it. Can someone help please? //+------------------------------------------------------------------+ //| Custom MACD.mq4 | //|

Move text label to left

Hi, Is it possible to move the text label to the left side of screen. if (Monthly== true ) { TimeToStr(CurTime()); ObjectCreate ( "PivotLine" , OBJ_HLINE , 0 , CurTime(),MN1_priceH); ObjectSet( "PivotLine" , OBJPROP_COLOR , Magenta);

Coder Opinion and Question about VLine

Hi, With the help of Mr. GumRai Code I try to modify the code to get VLine when iMA Crossed. First I would like to know about professional coder opinion. Is this the right way for writing code? Second I have question about the VLine. How to stop the line to not drawing in subwindow? int start() {

Vline Help Please

Hi, I would like to create two Lines showing the "opening bar" for daily time frame in the lower time frame The problem with the following code I'm not able to change "color, width, ...) also I don't know if it update auto or not. More explanation in the attached image. Any help will be highly

Find Oscillators Last Cross

Hi, I would like to ask if there is any existing indicator or any way to find statistic Oscillators previous crossed. More explanation in the attached image

If I change timeframe button status changed auto

Hi, I'm new to mql4 programing I try my best to learn it. I did some modification to an alerting to have it as a buttons in the chart window. The problem that I face is when " I active the alert button and change timeframe the status of the alert button changed to false". #property

Alert For Weekly High and Low

Hi, I'm trying to alert for weekly High and Low price, I'm using this code: double Alert_To_W1_High = iHigh( Symbol (), PERIOD_W1 , 1 ); double Alert_To_W1_Low = iLow( Symbol (), PERIOD_W1 , 1 ); if (Ask+ 1 * Point >= Alert_To_W1_High && Ask- 1 * Point <= Alert_To_W1_High)

Text Label Position

Hi, Please help me with the Text Label Position ( I want to move it to the left side As it is showing in the attached photo) I'm try my best but i couldn't find the solution . int start() { //--- double priceH=iHigh( Symbol (), PERIOD_D1 , 1 ); ObjectCreate

Find Last Red Candle

Hi, Any one can help me with this situation as i'm new to mql4 programing. I would line to find the last red candle as it is showing in the attached photo. I know only one way to do that. But the problem is (What if the Red candle it is not in fifth bar back??) for Ex: if it in 4 or 3 or even in 7

Open Limit Order If

Hi, I'm using this code to open Limit Order, Is it possible to have it to open Trad only if current bar fully closed? #property show_inputs //#property show_confirm extern double Lots = 1.0 ; extern int Slippage = 3 ; extern int Stop_Loss = 25 ; extern int Take_Profit = 100 ; enum TimeToExp