Erkan Isik / Publications
Forum
Start Timer Function
Hi, I want to ask, how I can implement a function for starting a timer after a certain condition like If buyCondition is true, then wait excactly 60 or defined seconds and check the buycondition again after the seconds are over. I used in my code function like TimeSeconds(TimeCurrent()) which
OrderModify Error 130, Stop is valid, but it does not work
Hi experts, I create two EAs 1 for Long of currency pair EUR/USD and 1 for Short of EUR/USD. So, I create a method, that should change every ten minutes the StopLoss. However, for the Short-side it works, but for the Long-Side I get always the OrderModify Error 130. I do not understand why? I use
How to initialize member variables?
Hello, I define an include where my member variables defined and where I use for my Buy/Sell Signals . So after a Stopp/Loss I create a method which initialize the member variable to 0. This method will be called, but the member variable includes the values before the Stopp/Loss. How can I
How to change a stop after every 10 Minutes?
Hi, I want to develop a method, that enablesto change the stop after every 10 Minutes? How can I implement this? Thanks for your support. Kind regards, Hoschie
Urgent problem (Strange behavior between Live Trading and Demo and Backtest with Strategytester)
Hi together, I developed an EA which I run since 1 month successfully on a Demo Account and I also made Backtest. Then for 1 week I start trading with a live account. For example today with StrategyTester only 1 Trade should be the result ( today from 1 am to 9 am), but with the Live Trading my EA
How to initialize global variables after Stopp Loss of an Order?
Hello, I want to ask how to initialize global variables after an Order was executed by the System via Stopp Loss like Tester: stop loss #1 at What kind of check is necessary like using OrderMagicNumber or using OrderTotal Method? Thanks for a code snippet. Hoschie
Determine highest price of each M1-Bar (Urgent help needed)
Hello everybody, I want to determine the highest price of each M1-bar every minute. My aim is make a calculation meaning adding each higheste price per M1-bar For example: at 09:00 am M1-Bar Highest price = 1 sum: 1 at 09:01 am M1-Bar Highest price = 2 sum: 3( sum of 09:00 and 09:01) at 09:02 am