Expert Advisors and Automated Trading - page 204

Hi, Is there any possible way to replay trade history (that saved manually or using script into .csv) and playback it in the strategy tester ? The reason I want to do this is because I want to do revision on how well I performed in the past XX weeks. Please direct me the market product if you have
i can not change the account of my VP subscription. it gives me no error messages and does not changes the account also
Hello friends! I wrote a script in which I used the following code Print("111"); x= iTime ( _Symbol , PERIOD_MN1 , 0 ); Print("222"); When the execution of the code reaches this part, the execution of the script stops So that the print is executed before it but the print is not executed after it
Hello Guys, I want to build a EA for my Strategy and found nearly everything I need for it, but i can't put everything together to a running EA. For example I want to use the Fractals Indicator and found finally the code for it, but don't know how to include all other "filters" (moving averages
Hello Experts, Been trying to google the answer and look into documentations, but I cant seems to find the answer. I am trying to understand whether CMoneyFixedRisk works on different account currency from symbol? E.g. Trading EURUSD but my Account Currency is SGD. Will the 1% fixed risk be
Hello. If I buy a ea and use all free activation is it possible to get more activations? Is it possible to buy the ea a second time to get the activation again
Hi, Mql5 EA that is rented, and running on MT4 VPS is making errors. See attached. The EA says open 0.02 Lots, VPS opens 0.01 Lot, then opens another x2 0.01 lots??? Can anybody help here. Thank you
Hi there, I'm having difficulties programming an EA to execute orders after 4 down/up bars. I want it to consider only the bars in the same day but it executes orders based on the previous day last bars. For example, if the last 4 bars of the previous day where positive it will buy within the first
Any one can help me to make this EA to close opening trade after 30 second
The more I play around and develop EA's I find I am using the same blocks of code again and again (Check for New Bar, Check if a trade is already open, PipDigits and so on). Rather than copy / Paste these from EA to EA I was looking to create a standard library I can import to any EA I make and save
Maybe a quick question, but I'm struggling to find the answer myself. I'm trying to initialise all elements of an array within a struct at struct definition, currently using a constructor. I can't get the right syntax though, or maybe I can't do it this way? - Can someone help? struct myStruct {
I am trying to find all consecutive timeframe pairs (for timeframes from M2 to H1) that preserve a candlestick’s upper wick for the duration of a week and keep updating the pairs regions drawn every 5 minutes. A rectangle will be drawn for the wick area. Let me explain further: This is the array of
  EMA+MACD  (2)
Hello guys... I want to put an EMA inside the MACD indicator. Can anyone help me
  Python MT5  (1)
Hi, so i got the python code for sending orders to the metatrader. However, there is an issue. The buy orders work but every time i try sending a sell order fom python to metatrader, it never sends anything. Does anyone have a solution for this
I want to build a simple martingale strategy to practice with, but i am confused as to how i can check the result of the last trade, whether it hit t.p or s.l. I'd really appreciate it if anyone can help me with the code to use. Thanks in advance :)
I have the same EA running on VPS 1 with 7ms latency and VPS 2 with 20ms latency. They frequently take different trades which is extremely odd to me. (trades on 20ms latency VPS usually are better) EA is trading on an M1 chart on both MT4 terminals. ANY advice would be amazing because I am so
Hello, its my first post! I'm using function copy_ticks_range from python API to get all ticks history of a symbol. (am i correct?) The result is a csv with time,bid,ask,last,volume,time_msc,flags,volume_real According in information of CopyTicks the result is a collection of struct MqlTick , right
  only sending limit orders  (31   1 2 3 4)
I just want to send limit orders. but I could not. I need help. these are my codes: // Filling type if (IsFillingTypeAllowed ( Symbol (), SYMBOL_ORDER_LIMIT )) Trade.SetTypeFilling ( SYMBOL_ORDER_LIMIT ); else if (IsFillingTypeAllowed ( Symbol (), SYMBOL_FILLING_IOC ))
GREETINGS So should the price hit our Stoploss, we lose 2% of our equity The formula to calculating the proper lot size is Equity*Risk/Stoploss Now our Stoploss is going to be 2*ATR Value I've been trying to turn all this into an MQL5 code PROBLEM: When I set the SL to a number (e.g. 50), the EA
Hi, I'm not going to post code just yet because I understand why what I am trying to do and how I am trying to do it is not work, I just do not understand how I am meant to deal with it! I have an EA that at a particular point creates two stop orders at the same price in the same direction with
Hello everyone, Can anyone code or direct me to EA with following conditions(I have searched this and other forms but in vain) Fake Stoploss and Take profit (levels should show price and risk amount) Hard Stoploss and Take profit (levels should show price and risk amount) (Lines to be in colour
elliminate Ban slow agents (that exceed average by specified multipler in most optimizations) Enable option to use only 64-bit agents Enable option not to use slow agents for additional percentage fee Enable option to use also slow agents for a discount Not pay for slow results Use only agents...
I have a VPS in NY (6ms latency to IC Markets) and a VPS in london (90ms latency to IC Markets). When I run my EA at the same time on my NY vps & my London VPS, they take trades in different directions from time to time. Does this make any sense and can someone shed some light on this issue? Thank
Hello everyone, I'm trying to create a library that can open trades the same way a trader sitting in front of MT4 will open trades. So far, I've been able to bring up the order window and simulate a keystroke on it. However I've been unable to edit any of the fields or even click on the "sell by
Hi, For simplicity, I have inserted only the basic code of an EA below. I believe it is enough and easier to understand my question. void OnTick()   {   CountBuyOrders(); //gets the BuyOrders   CountSellOrders(); //gets the SellOrders   if(BuyOrders+SellOrders==0) //check if there are any...
Hi, Do any members have any tips to prevent major slippage during times of low liquidity or high volatility? I am developing an EA for scalping and running into issues with large slippage during certain times of the day. I would like to prevent trades that are more apt to slippage. I don't think the
Hi,experts I doubt if we can change parameters of indicator during the ea/script is running? as we know,we need to declare (ma_Period,symbol) them in Onit() firstly before using. Let say I want to use moving average’value of 10-50 period,Does I need to declare 40 buffers and 40 handles? thank you
Hi, A while ago I purchased, Magic 7 EA with 5 activations. but now the EA is disappear from market completely how do you re-install the EA, normally you go to market and then download/install it from there. Although the EA is making huge loss sometimes, but I still want to give it a second chance
Hi, everybody! Can I find such scripts anywhere? How? I'm new here, I don't even know how/where to search properly. Thanks