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
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 );
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
Help me correct my logic on this. int upcount,downcount; //+------------------------------------------------------------------+ //| Expert initialization
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
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
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++) {
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
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
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
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
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
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
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
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
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