How do I code my EA to collect the last closed order's profit/loss? I can track the p/l for live orders, and if I close the order, I can collect the data... but if the system closes the order... for whatever reason... I don't know how to collect the
Can someone share with me simple code for mql4 to have a clickable button on a forex chart that when clicked places a market order? If not the code, where to go to research. All my searches send me to mql5.
I want to program my own Binary Options trading robot. I have learned a bit of MQL4. Where do I go to learn how to program a Binary Options robot? Can you use MQL4 to do it? How does the ea interface with the Options platform?
I've programmed a few simple EA's for MT4 using MQL4. Now I want to dabble with Robots for Binary broker platforms. I know you can buy robots that will trade on your Binary platform, but I want to create my own. I can't find any help on the
Is there a way to "batch" enter arrows onto a chart? say from and excel spread sheet. Or is the only way to excruciatingly put them in one at a time, or wait for the extreemly slow process of the visual mode? The tester spits out in a
How do I write a code to prevent a trade between a certain time span? Example: I want to enter the time of a certain news announcement. (Daily Fx lists announcement times in GMT... I think) My broker is GMT + 2 hours. And I am in Mountain Time Zone
Is there a way to access news dates and times in the MT4? For instance, I want to NOT trade around EUR/USD news releases ... maybe an hour before and an hour after... or so. Or do I just need to created my EA so I can manually enter the news release
55839 - in this post, I learned how to open an order at the start of a bar. Am using this with great success. What I need to know now, is how to delay opening the order for X no. of minutes after the opening of the bar. Example: On the 4 hour chart
Could someone share some order entry logic with me? If my ea logic says it's time to buy, I don't want my ea to execute the buy order if the price is still dropping. I want it to allow the price to drop, and enter on a reversal. for example: ea says
Can an EA check to see if a broker is open for trading before executing a trade? I'm working on a hedging program between 2 brokers, and I don't want just one leg to be executed because one broker is open and the other is not. I am mostly interested