Forum

Little Help Required on EA

MURREY ADVISOR V2.2 © MoStAsHaR15 2010 Timeframe : 4 Hrs Pairs : EURUSD, GBPUSD, USDJPY, USDCAD, AUDUSD, NZDUSD, and EURGBP. I have developed this indicator based on my observations. It is based on the principles of Support and Resistance using Murrey Lines and Trend strength & direction using ADX

How can I get ALERT only once?

Hello Let's say I want to create an alert for a condition such that for example Close[0] > 1.2800 & Close[0] < 1.2810. As you can see the alert will continue pop up as the conditions still arise which is kind of annoying. I tried to add a counter to only alert once but did not succeed. if(Close[0] >

How to allow multiple trades but on different pairs?

I am familiar with the typical example in MetaTrader which allows only one trade at time: total= OrdersTotal (); if (total< 1 ) { ..... } But how can this be altered so that it can open one trade max per pair

How to read label text

Sometimes I am making an indicator that reads some input from the chart using ObjectGet function ,e.g ObjectGet("PivotLine",OBJPROP_PRICE1) which will get me the price which represent Pivot on the chart. Is there a way to use ObjectGet function to read text of a label? Thanks