Forum

Closing a position

Hello, I would like to know if this code is correct to close an opened position with lot size = LOT : What I did is that I removed SL and TP arameter so that it close at the latest bid price. Thank you //--- Putting all together if(Sell_Condition_1) { // any opened Buy position

Average number of consecutive green/red Heinken Ashi candle ?

Hey all, Let say a good trend is defined by x consecutive green/red Heinken Ashi candles. Do you think average value of x over the last y days is similar in all timeframes or shall we expect one timeframe to provide better value ? how can we know that or similar information ? The idea is that TF

Problem to buy or test products with MT5 over Linux

Hello, Is there a solution Metaquest Software proposes for users under Linux to access market products ? actually I've tested 1./ Wine emulation system and 2./ Windows 7 on a VM (virtual machine) but both returns an error when trying to download or test products. Thank you

System requirement for MT5 ?

Hello, I have found nowhere operating system requirement for MT5, any idea ? Windows 7 consumes a lot or ressource in a VM under Ubuntu... please help. I need a solution to access the market place under Linux

Problem to open "mql5buy" link in Firefox (MT5 under Linux system)

Hello, I'm running MT5 over Wine emulation plateform for Linux Ubuntu and everything works fine except the redirection from www.mql5.com website. When clicking a link to buy a product, subscribe a signal or downloading free version of an EA then Firefox say there is no application associate with

Multiple trades open on different symbols in Strategy Tester ?

Hello, I'm using Strategy Tester with a multiple currency EA but I can't figure out how it works in detail. There is this article that introduce Multiple Currency EA but it doesn't go into details . Ok there is an option to say "Take all symbols selected in MarketWatch" but from what I see it

How to make a for loop through column of a csv file ?

Hello MQL5 community, I generate a trading signal from an external application and I would like to use these signals as input for me EA. There can be no more than one signal per single day. As soon as the external application generate a signal a new line is added at the end of the file containing

Profit after commission when backtesting strategy ECN broker

Hello, it looks there is no possibility in optimisation results to see the net profit of each strategy after commission are applied by the broker (unless opening the report in excel to sum total commission). It'd be great