Forum

EA that record and save 1 second data to CSV

Hi Looking for a EA / Indicator that can save 1 second data (need only be Open) to a CSV file. Any suggestions? I have one that saves each tick, but it creates a lot of extra work for me as I only need 1 second resolution. BR /

Thinking of starting with MT5... but for CFD, but can it scan and auto trade?

Hi Starting to look into MT5, have some experience with MT4 for FOREX but would like to start to use EA for stocks. As how, I cant really find if MT5 can help me to achieve what I have been looking for. I want to (and I have some basic programming skills, so I intend to do it myself) an EA that can

Prevent automatic deletion of log mt4 ?

Hi I realize that all my log files (mql4/log ) are max 10 days old, different brokers.. are there any way in MT4 to prevent this form occurring? / T

Kill switch for MT4 on a VPS?

Hi I am running some MT4 / EA on a VPS. I have worked perfectly, but I always feel hat I need a killswitch or similar to it if the VPS provider have problems.. So, what if I cant access my VPS, are there any way to by local access to the MT4 account kill all automatic trading? I did try to just

Unable to have a large stop loss / take profit

Hi I get OrderSent error 130 if I put a StoppLoss or Take Profit during OrderSend when I seems to have a to large value (SL > 1% ) .. ( that is an invalid stop loss ). I am use to get this if I have to tight stop loss, but is there a limitation on how fare away stop loss can be? The limit seems to

MT4 Bollinger Bands gives slightly wrong value.. or ?

Hi I develops all my EA in Amibroker, and I notice something strange. Amibrokers Bollinger value and Metatraders gives slightly different values. The diff is often around 0.00006 , please find attached a screenshot for further comparison. I know by earlier experience that the support for Amibroker

StringAdd gives multiple pass of last string

Hi I am trying to add the current spread to the comment for a buy / short event. The code is; double i_S1 = (Ask - Bid) * 10000 ; string i_S = DoubleToString (i_S1, 1 ); StringAdd (comment,i_S); Print (comment); comment shall of course be in the OrderSent, but are

How to optimization towards highest regression (?)

Hi Have search a lot, but unable to find any answer.. I want to make an optimization towards highest (and I hope I use the correct terminology) regression. That is, the most “strait” Balance / Equity curve. To not trade at all would of course give highest value :D.. Any suggestion? Best Regards /