Forum

loading/changing indicator by EA

Hello! I have an EA, that works with RSI. Now I want that the EA, by adding to the chart, automatically opens an indicator (RSI) subwindow with the specific parameters provided by the EA. I was trying "ChartApplyTemplate", but imediately this function removes the EA: "The Expert Advisor will be

Problems with adding an "inputbox.dll" to an ExpertAdvisor

Hello! I have a problem with adding an "Inputbox" to my ExpertAdvisor to set an input parameter (Indicator price) by clicking the specific botton ("Button_setINDprice") in the chart. What I can find in the forum and I´m trying is the following

Metaquotes MT5 demoaccount time zone

Hello! Please anyone can tell me exactly what time zone is used by MT5 demo account (MetaQuotes Server)? In this moment it´s UTC+03:00. Is this Further-eastern European Time (FET) (UTC+03:00) without daylight saving time (Moscow Time) or Eastern European Time (EEST) with summer daylight saving time

How to get access to array in loop with variable

Hello! In a loop I want to assaign the values of the operator to specific arrays depending on the loop-variable. This is a simplified example: --------------------------------------------------------------- double Array1[1], Array2[1], Array3[1], Array4[1],...; for (int i=0;i<=100;i++) { double

problems with optimizing in MT4, limitation of results

Hello together! If I want to test an EA with e.a. a StopLoss from 10 - 200 and a step of 10 together with a TakeProfit of 10 - 180 and a step of 10, I should get 360 results. So in the Strategietester You can see on the left below the expected result "360 / 1280 (360)", but in reality this program

High(iHighest) since a specific time

Hello! Please, somebody can help me to define "High(iHighest)" and "Low(iLowest)" since a specific time? I can find this in the topics: double highestPriceAfterBuy = High[ iHighest (NULL, 0, MODE_HIGH, iBarShift(NULL, 0, OrderOpenTime()), 0)]; How could I say High(Highest) since a specific time

High(iHighest) of a more specific period of time

2011.04.29 20:40edit | delete Hello! Please, somebody can help me to define "High(iHighest)" more specificly? The following I can find in this Forum: double highestPriceAfterBuy = High[ iHighest (NULL, 0, MODE_HIGH, iBarShift(NULL, 0, OrderOpenTime()), 0)]; I need the High(iHighest) after closing