Max Enrik / Profile
Max Enrik
Added topic EA: Miscellaneous Questions - Trading Strategy
#Article and Forum for Beginner & About Trading Strategy - Open Hello, I already found few articles that I will read all of them before I start to write code for my first Trading Strategy EA's. But I think if someone ( professional coder or
Max Enrik
Added topic Broker issues
#Expert Advisors - Open Hello, Yesterday I discussed one of broker for sign up for new account for testing - and they said me I can't use Expert Advisors, so I immediately said bye! ( I would not like to note that broker name at all ) ( not
Max Enrik
Added topic errors - miscellaneous questions
Hi, I already know below error would like to say 'Object already exist', and I checked out all of my Label object names, and their names very different. And just I would like to know where that problem come from? (I just inform I use Label Create
Max Enrik
Added topic expert advisor - miscellaneous questions
Hi, I try to use 'else {}' code when market closed just it could play. But two sounds mixed, where is a problem, please? // SELL if ( sparam == "SELL GROUP" ) { ObjectSetInteger ( 0 , "SELL GROUP" , OBJPROP_STATE
Max Enrik
Added topic Indicator Miscellaneous Questions
Hi, #Broker Time I spent few hours for reading some comments, but I did not figure out how can I set my Broker Time to my indicators / how can I set my indicators to my Broker Time . (maybe I confused) My Broker Time starts from
Max Enrik
Added topic mt4 - Period - Issue
Hello, #'Period H1' - Issue Open I has been put below code in my indicator, but I am not sure below code is good or what? So please Pro Coders let me know about it. int start() { if ( Period () >= PERIOD_M30 ) return ( 0
Max Enrik
Added topic mt4 - Session Breaks Day
Hi, I use below code for #1 screenshot. int _objfnd = ObjectFind ( name ); if ( _objfnd == - 1 ) { ObjectCreate ( _vlineName, OBJ_VLINE , 0 , Time [i], 0 ); ... } and I use below code for #2
Max Enrik
Added topic How to use complex operators
Hi, How can I combine two 'if' Operators ? My purpose 'Special sets ...' will apply two 'if' Operators . Best // Main Operator if ( a == b && c == 0 ) ObjectCreate ( str name, int type=
Max Enrik
Added topic array out of range in
Hi, How can I fix this fatal error? _Price_High = MathRound( ( High[Highest ( NULL, 0 , MODE_HIGH, Bars - MODE_HIGH, 2 )] * ( 1 / Point) ) * 2 ); _Price_Low = MathRound( ( Low [Lowest ( NULL, 0 , MODE_LOW, Bars -
Max Enrik
Added topic FIBO's issue
Hi, When I want to see wide past time like below picture, my FIBO's disappear. (I made this FIBO's with Indicator.) (It looks like 'Chart Scale' issue when Scale 1,3,5... FIBO's disappear - it appear 2,4,6...) What a problem please
Max Enrik
Added topic mt4 - indicator - Levels
Hi, I am interesting about 'Indicator Levels' so I need to get some advice before I started. Which 'Object' would be better for it? I want to write 'Level Prices Description' like below. Really any good reply would be better. Thanks.
Max Enrik
Added topic mt4 - ChartSetSymbolPeriod - slow down
Hi, I try to use 'ChartSetSymbolPeriod' for my indicator, but this indicator slow down my MT4 platform when I try to use it with another Expert Advisors. //+------------------------------------------------------------------+
Max Enrik
Added topic mt4 - multi charts - QA - issues
Hello, I would like to know 'Multi Charts' is working perfect with 'Expert Advisors' (like DOM) and other 'Indicators' in a 'Chart'? Can I set 2 different color 'BullCandle & BarUp'? (I do not mean you give me codes, but if you give me some
Max Enrik
Added topic Trade Panel - issues
Hi, I made some " OBJ_RECTANGLE_LABEL " s but I can't find how can I link each other. That mean I need to move all with single object. So where can I learn about that with example? Any idea would be better. Best, Max
Max Enrik
Added topic Removes All Objects - Previous Day Object Still Remain
Hi, I use below code for delete object. But next day I start MT4 "Previous Day Object Still Remain" I do not know what is wrong my below code. Also I have not any error about that. // Removes All Objects int deinit() {
Max Enrik
Added topic Week Open Price for indicator
Hi, I try below code for Week Open Price on Indicator. I have not any error code but below code does not shows me correct time. if (TimeDayOfWeek(Time[i]) != TimeDayOfWeek(Time[i+ 1 ])) Any help would be better. Best, Max
Max Enrik
Added topic CandleCountDown / Period() - TimeFrame M15
Hello, I would like to write some code for Indicator "Candle CountDown" but I need some help. I know Period() - Returns timeframe of the current chart. But I would like to use "Period()" like "PERIOD_M15" in the M1 TimeFrame Chart. CandleCountDown =
Max Enrik
Added topic mt4 indicators fibonacci / I want to delete fibonacci
Hello, I want to delete my "Fibo" which one I made it by the some indicator, but I wouldn't like to delete all "Fibo"s. Best, Max
: