Forum

Delay Actual event data, Building NFP EA

Hey all! im trying to build some nice EA for news trading. i did some test and i works fine but it turns out the data of the mql5 calendar is very delayed. i use the ID of the event to let the EA look at the prev , forecast and actual data. With the delayed my trade start to late and the biggest

Nfp 06-12-2024

Hey all! im trying with creating an EA thats place positions based on the news! So far so good! On this moment im backtesting the nfp data. if actual is better then the forecast then buy USD, if actual is worser than forecast , the Sell. Its a very simple strategy what i working for now, but there

mqlCalender Actual Value Event

today is saw a great tutorial about a newsfilter. The filter calls the events and check if there important for the pair im trading to. nice way to escape voilent moments... but i really like to try to work with the calender. i want to call the actual value of the last event. So i can check if the

dont trade buy if last deal was buy closed in loss

Hi all! I try to create a code to check if the last buy position (what is closed) if it closed ik loss or in profit. i Try to create a bool function so before the trade started , the EA is sure that the last buy position is not closed in loss (false). if its closed in loss it return true and then i

color Hline doesn't change, also invisible using iHigh/iLow

Hey All I was watching multiple tutorials on youtube about creating lines (objects and stuff). The problem now is i cant change the color in my last EA practice script. The lines stays red and i had this problem last week for the first time with another tutorial. First i thougt i did something