MT4 EAs shows markers when opening/closing positions take place. MT5 does not show them. Am I missing something? Shouldn't this be automatic? The markers are shown in backtesting but not in live trades I do not want to create an object for this
Just wondering if someone already worked in the code to send an order with stops to an ecn. can you please share it? I do not seem to make it work on my end the idea is to send the order without any stops, verify that the deal is executed and then
An order becomes a deal. A long deal open or increases a position. A second long deal increases the position since in MT5 there is only one position per pair. If I use POSITION_PRICE_OPEN (Position open price) from
Hi, I want to write a script to limit the money at risk per trade. I want to limit my risk at n% of my equity. I found some scripts in the forum but still have some questions.. I found: lot = NormalizeDouble(AccountFreeMargin() * Risk * 0.01 *
Hi all, If you trade using a 4 digit broker, can you share your broker's name with me? I want to test some code but it seems that all the brokers I try use 5 digits now :) Thanks
Hi there, I need help on this. I want my custom indicator to be tick independent and run every 10 sec. I looked at the forums and tried : int start() { while( !IsStopped() ) { WindowRedraw(); Sleep(10000); // my code } return(0); } And also tried
Hi there, I need to import external tick information (pricing) from a csv file to metatrader as an offline chart. I searched the forums and now I know is possible. My problem is that I want the offline chart to be updated automatically every 5