Agent86
Added topic Question about Logical Operation && without an if comparison ?
I know the reference and book does not mention this but curious how it works for assignment instead of comparison.  Can this even be done as intended ?  For example: extern bool chart_period=true; // extern bool macdm1=false; extern bool
Agent86
Added topic Does the compound operator require brackets ?
Curious if these the same ?  I assume the compound operators need to be in brackets, but I've seen code written this way and wondered why ?  Please confirm thanks    if (A_high()) ObjectSet( "B6" , OBJPROP_BGCOLOR , clrRed );
Agent86
Added topic need example / advise how method for makeing multiple selections or multiple properties.
I'm asking generically for concept ideas because I don't really understand where to start. I'm trying to figure out how to toggle multiple indicators for EA backtesting so that I don't have to change each comparison line in the the code
Agent86
Added topic For Loop keeps counting past false condition ?
Help me correct my logic on this.  int upcount,downcount; //+------------------------------------------------------------------+ //| Expert initialization
Agent86
Added topic Why undeclared identifier in void function for Print function ?
Hi,  I get undeclared indentifier for A when printing from void type.  void down_count()    {       for ( int i= 0 ; i < 50 ; i++)       {       
Agent86
Added topic Why is EA testing on Live Account vs Demo account very slow in the tester compared to demo account
Oanda Live, and Oanda Demo platforms.  I used the tester on both and Live "visible charts" I see the chart moving slow even with the slider all the way full speed.  On Demo it's as expected and very fast as I am use to.  Is there some
Agent86
Added topic Why multiple buys and close at stops from the tester ?
I'll keep working on finding out why this happens, and post some code tomorrow but the code is long so I wanted to ask generically with this pic.  Tester places multiple orders in a row, then closes at stops multiple times in a row.  Stops
Agent86
Added topic Can I change individual candle colors from the EA ?
Can the individual candle colors be changed or only for the entire chart ?  My attempt here: void bullish_engulfing_candle()    {    for ( int i= 1 ; i<=50 ; i++)       {
Agent86
Added topic How to toggle/blinking Text Colors
How to toggle or make a blinking Object or to oscillate colors or something ?   Is this possible or does the code just read so fast that it wouldn't be noticed ?  I can see doing a counter of some type but I don't want to hold up
Agent86
Added topic Can an indicator for a period be shown on any chart period ?
Can an indicator such as H4 or D1 be shown on a different time such as M15 or M5 ? Since the indicators properties do not have any options for this I assume "no". I figured I would ask about this before starting to make this code.  Thanks  
Agent86
Added topic Does MT4 platform have a built in feature to show the daily time period vertical lines on all charts time periods ?
Does MT4 platform have a built in feature to show the daily time period vertical lines on all charts time periods ?  IE - 5min chart showing market open/close times when I scroll backward or forward on the chart ?  I can't find this feature
Agent86
Added topic Is there a Period() equivalent that returns as shown in the actual chart or do I have to make this ?
Is there a Period() equivalent that returns as shown in the actual chart or do I have to make this ?  aka M5, H1, H4 etc. ?  Or only in minutes like Period() ?  Thanks
Agent86
Added topic Is there a limit to the number of graphic objects I can create for MQL4 ?
Hi, I remember reading about this subject in the documentation but can't seem to find this subject anywhere now.  The reason I ask is because I get error 4200 for ObjectCreate of almost the same exact object.  Wondering of there is a limit
Agent86
Added topic Help with OBJ_TEXT - How to reuse without getting stuck in a OBJECTDELETE loop.
I seemed to have coded myself in a corner.              ObjectSet( "B23" ,OBJPROP_TIME1,ctime);             ObjectSet( "B23"
Agent86
Added topic Is it possible to adjust price scale when objects that go off the chart window.
Hi,  So for example OBJ_TEXT set with coordinates of price/time Anchor set to ANCHOR_LOWER My code works as I expect but sometimes OBJ_TEXT goes outside of the chart window. This is because price is either high or low on the chart and objects
Agent86
Added topic is a new variable/constant required once it is used for a separate comparison ?
Hi,  My thoughts were this: why can't I reuse histo in the same way as I use "i" ?  I use histo for comparison for up/down cross.  histo  = iCustom ( NULL , 0 , "MACD True" , 2 , 1 ); I use histo_1 for counting void
Agent86
Added topic Why does my object to count to it's location instead of just being placed there?
My object appears on screen briefly at a fractal then moves to my expected fractal.  bool A_low()    {         {        if (histo())
Agent86
Added topic Does anyone have experience using the FF calendar on mt4 ?
I was just curious how responsive the reports are compared to other online calendars.  Are they delayed or are they pretty quick to propagate the data ?  Thanks
Agent86
Added topic Generic question about methods of counting fractals.
Hi,  I have been using fractals and finding them in the chart by counting  i-- or i++ and also if(fractal != 0) depending on which fractals I'm looking for. Although this method works, it creates a lot littered and requires duplication
Agent86
Added topic Can someone help me with bool logic
I'm not sure how to ask this question. Is there such a thing as a mostly common practice to extend the return=true even after the initial trigger is no longer true ?  bool up_fib()    {       {