Forum

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 01:00 , but all my indicators works from 00:00 . So how can I solve

EA: Miscellaneous Questions - Trading Strategy

#Article and Forum for Beginner & About Trading Strategy - Open H‌ello, ‌‌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 programmer ) will share some links about Trading

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 only I made by myself - no one can't use any type of

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 function for EA's) LabelCreate: failed to create text

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 , false ); _ticket = Order ( "SELL GROUP" );

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 ); // this code at the top } Thanks

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 screenshot. int _objfnd = ObjectFind ( name ); if ( _objfnd == - 1 ) { datetime _dayTime =

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= OBJ_VLINE , int window, dtt time1, dbl price1 ); else // Special sets which one I want to set all my Object

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 - MODE_LOW, 2 )] * ( 1 / Point) ) / 2 ); //--- fatal error: 'array out of range in'

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 help me, I need good reply. Thanks