Forum

Problem Calculating the difference between prices of a candle MQL4

Hi, I need help with this I'm trying to calculate the price of the previous candle in order to set the Stop Loss and Take Profit for a Order Send. The problem is I can make the decimals into a number of pips. If someone could help me with this, I will appreciate that //---- Valores de

How to create an arrow MQL4

Hi, I'm trying to create an expert advisor that creates and object (Arrow up or down) depending of an if. The signal works, they show me the alert but the program doesn't create the arrow. If someone can help you I will appreciate. This is part of the code I'm doing if ( diff_2 <=