Forum

Murrey Math Line - Line Drawing Problem

Hello fellow traders, I want to modify an existing Murrey Math Line indicator (https://www.mql5.com/en/code/8570) on how it drawth the lines. Right now it draws the Line as a Horizontal line on the charts but I want to change it so the line will be only displayed from the current candle (start) to

Arrow with Text (above/below) Question

I am currently struggeling to get text written directly below my drawn arrow . This is my code right now //+------------------------------------------------------------------+ //| Indiv1.mq4 | //+------------------------------------------------------------------+ #property

Calculate Pip Difference - confused

I am searching for an Indicator or a way to get the Tenkan-Sen Kijun-sen distance (from eachother). e.g Tenkan-Sen is at 0.75780 and Kijun-sen is at 0.75760 so the distance is 20 pips, correct? I tried it myself but I got a problem because of the different price structure (not sure if that is the

Load indicator - iCustom

Ive tried to load this indicator to my EA: https://www.mql5.com/en/code/575 But i need some help.. Before I was using MQL4 and just switched to MQL5 and MT5. In mql4 I just could access the values like this. double valuechart = iCustom ( NULL , 0 , "value_chart" , 3 , 0 ); //value 3 and current

What indicators are your favorite for reversal trading?

Hello mql5 community, What are your favourite indicators for reversal trading? What indicaors do you use to identify possible reversals? My 2 currently favourite ones are the combination of the 2 attached indicators. Please share yours. regards, salexes

Deleting Objects/Label from chart

Hello, One of the indicators I am using in my EA is printing text on the chart, is it possible to automatically remove such text ? I do not have the mq4 file for that indicator. Any help is appreciated! regards, salexes

Get the current price?

Hi, how do I get the current Price, 2 seconds before the current candle closes? I am using the M1 Charts I want to do the following: I have an open CALL on the current candle and if the Price 2 secconds before the candle is closed, is lower than the price was when the position was opened, then I

Open trade when middle bollinger band crossed by lwma (my attempt does not work )

I want to buy or sell when middle bollinger band crossed by lwma (my attempt does not work ). Where did I do my mistake? double BBBTop = iCustom ( NULL , PERIOD_CURRENT , "Better Bollinger Bands" , 20 , 2.0 , 0 , 0 , 0 ); double BBBMid = iCustom ( NULL , PERIOD_CURRENT , "Better Bollinger Bands"

How to only open trade in first x seconds of a new candle ?

How to only open trade/give signal in first x seconds of a new candle ? I am currently creating an expert advisor, and I want them to only give a signal or open a trade if it is within the first 30 seconds of the current candle. How do I do that ? My idea was this but not sure if this is correct

Determine current color of indicator line?

Hello, I am using the indicator "TMAcentered MACD v1.2.ex4 " and I want to include it into my EA. But right now I got a problem, how can I determine the current color of it programmatically ? regards, salexes