fx0011 / Publications
Forum
Save the time after an event
Hi, I want to save the Time after an event, for example after the bid breaks the lowest low for the last X bars, I can't use the OpenOrderTime() function as I don't want to open an order. If the event happens again I want the saved Time to be changed. Thanks a lot for any help
This EA doesn't sell any suggestion
//+------------------------------------------------------------------+ //| My_First_EA.mq5 | //| Copyright 2010, MetaQuotes Software Corp. | //| http://www.mql5.com |
Invalid request
Hi I have copy this functions in order to create a trailing stop but I am getting and Invalid request error thanks for any help void TrailingSL() { double StopLossTemp; //-----Get the opening time---------------- datetime Open_Trade_Time= PositionGetInteger ( POSITION_TIME ); Print (
Trade List
Hi, I tried to make a trade list for my EA I use the two following functions 1)GetSymbolString in order to have an multicurrency EA 2)Terminal in order to save the orders characteristics extern string symbol = "EURUSD" ; extern int MultiCurrencyMode = 1 ; extern int Symbols
Highest High
int M1BarShiftOfTradeOpen = iBarShift (symbol, PERIOD_M1 , Order_Open_Time, false ); int IndexOfHigh = iHighest (symbol, PERIOD_M1 , MODE_HIGH , M1BarShiftOfTradeOpen + 1 , 0 ); double HighestValue = iHigh (symbol
Wrong Parameters count
Hi, I have a problem with a function could someone help? I have try to create these functions according to this 'Considering Orders in a Large Program' and I have an error while compiling "Wrong Parameters count" #include <Peremen.mq4> // Terminal.mq4