fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. AlphaOmega
    3. Posts
    • Profile
    • Following 5
    • Followers 16
    • Topics 46
    • Posts 575
    • Best 47
    • Controversial 2
    • Groups 0

    Posts made by AlphaOmega

    • RE: higher high long lower low short EA

      @ambrogio ... why you say it does not exist? Candle 0 is the current candle and then when it close it becomes candle 1 and the current candle 1 will become candle 2 etc.

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: higher high long lower low short EA

      @jordanburch https://fxdreema.com/shared/N7AkgnMid

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • Follow the dots of the White Rabbit

      Hi..

      How can I determine each dot of the parabolic SAR? Say I want to enter an order on the 3rd dot or maybe the 6th dot. Does anybody have an idea please?

      https://fxdreema.com/shared/OPFGRNgdd

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Mql4 to Mql5 convertor problem

      @ambrogio said in Mql4 to Mql5 convertor problem:

      @alphaomega hi! A long time ago I solved this way: I copied the code generated by the converter into an empty meta editor indicator file, then i compiled it.

      0_1640987435388_sgabello.PNG

      0_1640987456863_sgabello1.PNG

      But this time I wasn't lucky, the file doesn't show anything on the graph

      These are the files: 0_1640987888846_MARKET_PROFILE.ex5

      0_1640987894856_MARKET_PROFILE.mq5

      Maybe the mq5 file needs some fix, but i don't know, i'm not a coder.

      Thank you my friend for giving it a go. The errors you got is the same errors I had. I googled it and what I understand from it is that the indicator was written in a previous mql4 form, in other words by now not updated. So the the Fxdreema convertor makes errors not reading mql4 type correctly.. I am also not a coder so it the blind leading the blind here đŸ™‚ When Fxdreema comes from holiday maybe he can share us some white light.

      posted in Bug Reports
      AlphaOmega
      AlphaOmega
    • RE: Mql4 to Mql5 convertor problem

      @xyon126 Happy New year to you... I am sorry to disagree with you., No matter.. its the same .... mql4 code format from where ever... the format is the same so that is not the problem... The real problem is its a bad convertor and it needs fixing. Thank you for your input

      posted in Bug Reports
      AlphaOmega
      AlphaOmega
    • RE: Indicator Compiling error

      @l-andorrĂ  I found another one that is working.. Thank you
      https://www.mql5.com/en/code/18034

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Indicator Compiling error

      @l-andorrĂ  .. Yes it is the correct file.. It starts of like this

      0_1640526771356_e392e6f6-36f2-4e23-84dc-89c4830ffa97-image.png

      //+------------------------------------------------------------------+
      //| Bollinger-Fibonacci.mq5 |
      //| EACompared.com |
      //| http://www.mql5.com |
      //+------------------------------------------------------------------+
      #property copyright "EACompared.com"
      #property link "http://www.mql5.com"
      #property version "1.00"
      #include <MovingAverages.mqh>
      #property indicator_chart_window
      #property indicator_buffers 7
      #property indicator_plots 7
      //--- plot UpperBand3
      #property indicator_label1 "UpperBand3"
      #property indicator_type1 DRAW_LINE
      #property indicator_color1 DarkOliveGreen
      #property indicator_style1 STYLE_SOLID
      #property indicator_width1 1
      //--- plot UpperBand2
      #property indicator_label2 "UpperBand2"
      #property indicator_type2 DRAW_LINE
      #property indicator_color2 DarkGreen
      #property indicator_style2 STYLE_DASH
      #property indicator_width2 1
      //--- plot UpperBand1
      #property indicator_label3 "UpperBand1"
      #property indicator_type3 DRAW_LINE
      #property indicator_color3 SeaGreen
      #property indicator_style3 STYLE_DASH
      #property indicator_width3 1
      //--- plot MidPoint
      #property indicator_label4 "MidPoint"
      #property indicator_type4 DRAW_LINE
      #property indicator_color4 DarkBlue
      #property indicator_style4 STYLE_SOLID
      #property indicator_width4 1
      //--- plot LowerBand1
      #property indicator_label5 "LowerBand1"
      #property indicator_type5 DRAW_LINE
      #property indicator_color5 SeaGreen
      #property indicator_style5 STYLE_DASH
      #property indicator_width5 1
      //--- plot LowerBand2
      #property indicator_label6 "LowerBand2"
      #property indicator_type6 DRAW_LINE
      #property indicator_color6 DarkGreen
      #property indicator_style6 STYLE_DASH
      #property indicator_width6 1
      //--- plot LowerBand3
      #property indicator_label7 "LowerBand3"
      #property indicator_type7 DRAW_LINE
      #property indicator_color7 DarkOliveGreen
      #property indicator_style7 STYLE_SOLID
      #property indicator_width7 1
      //--- input parameters
      input ENUM_APPLIED_PRICE Pr=PRICE_CLOSE;
      input int Periods=20;
      input ENUM_MA_METHOD MAType=MODE_SMA;
      input float Factor1=1.618;
      input float Factor2=2.618;
      input float Factor3=4.236;
      //--- input parameters
      input int InpAtrPeriod=14; // ATR period
      //--- indicator buffers

      //--- global variable
      int ExtPeriodATR;
      int ExtBandsPeriod;
      int ExtPlotBegin=0;
      //--- indicator buffers
      double UpperBand3Buffer[];
      double UpperBand2Buffer[];
      double UpperBand1Buffer[];
      double MidPointBuffer[];
      double LowerBand1Buffer[];
      double LowerBand2Buffer[];
      double LowerBand3Buffer[];
      double ExtATRBuffer[];
      double ExtTRBuffer[];

      //+------------------------------------------------------------------+
      //| Custom indicator initialization function |
      //+------------------------------------------------------------------+
      int OnInit()
      {
      //--- check for input values
      if(Periods<2)
      {
      ExtBandsPeriod=20;
      printf("Incorrect value for input variable Periods=%d. Indicator will use value=%d for calculations.",Periods,ExtBandsPeriod);
      }
      else ExtBandsPeriod=Periods;
      //--- indicator buffers mapping
      SetIndexBuffer(0,ExtATRBuffer,INDICATOR_CALCULATIONS);
      SetIndexBuffer(1,ExtTRBuffer,INDICATOR_CALCULATIONS);
      SetIndexBuffer(0,UpperBand3Buffer,INDICATOR_DATA);
      SetIndexBuffer(1,UpperBand2Buffer,INDICATOR_DATA);
      SetIndexBuffer(2,UpperBand1Buffer,INDICATOR_DATA);
      SetIndexBuffer(3,MidPointBuffer,INDICATOR_DATA);
      SetIndexBuffer(4,LowerBand1Buffer,INDICATOR_DATA);
      SetIndexBuffer(5,LowerBand2Buffer,INDICATOR_DATA);
      SetIndexBuffer(6,LowerBand3Buffer,INDICATOR_DATA);
      //--- set index labels
      PlotIndexSetString(0,PLOT_LABEL,"Bands("+string(ExtBandsPeriod)+") Middle");
      PlotIndexSetString(3,PLOT_LABEL,"Bands("+string(ExtBandsPeriod)+") Upper");
      PlotIndexSetString(6,PLOT_LABEL,"Bands("+string(ExtBandsPeriod)+") Lower");
      //--- indicator name
      IndicatorSetString(INDICATOR_SHORTNAME,"BB-Fibonacci");
      //--- indexes draw begin settings
      ExtPlotBegin=ExtBandsPeriod-1;
      PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,ExtBandsPeriod);
      PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,ExtBandsPeriod);
      PlotIndexSetInteger(2,PLOT_DRAW_BEGIN,ExtBandsPeriod);
      PlotIndexSetInteger(3,PLOT_DRAW_BEGIN,ExtBandsPeriod);
      PlotIndexSetInteger(4,PLOT_DRAW_BEGIN,ExtBandsPeriod);
      PlotIndexSetInteger(5,PLOT_DRAW_BEGIN,ExtBandsPeriod);
      PlotIndexSetInteger(6,PLOT_DRAW_BEGIN,ExtBandsPeriod);
      //--- number of digits of indicator value
      IndicatorSetInteger(INDICATOR_DIGITS,_Digits+1);
      //---
      return(0);
      }
      //+------------------------------------------------------------------+
      //| Custom indicator iteration function |
      //+------------------------------------------------------------------+
      int OnCalculate(const int rates_total,
      const int prev_calculated,
      const datetime &Time[],
      const double &Open[],
      const double &High[],
      const double &Low[],
      const double &Close[],
      const long &TickVolume[],
      const long &Volume[],
      const int &Spread[],
      const int begin,
      const double &price[])
      {
      //--- variables
      int pos;
      //--- indexes draw begin settings, when we've recieved previous begin
      if(ExtPlotBegin!=ExtBandsPeriod+begin)
      {
      ExtPlotBegin=ExtBandsPeriod+begin;
      PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,ExtPlotBegin);
      PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,ExtPlotBegin);
      PlotIndexSetInteger(2,PLOT_DRAW_BEGIN,ExtPlotBegin);
      PlotIndexSetInteger(3,PLOT_DRAW_BEGIN,ExtPlotBegin);
      PlotIndexSetInteger(4,PLOT_DRAW_BEGIN,ExtPlotBegin);
      PlotIndexSetInteger(5,PLOT_DRAW_BEGIN,ExtPlotBegin);
      PlotIndexSetInteger(6,PLOT_DRAW_BEGIN,ExtPlotBegin);
      }
      {
      int i,limit;
      //--- check for bars count
      if(rates_total<=ExtPeriodATR)
      return(0); // not enough bars for calculation
      //--- preliminary calculations
      if(prev_calculated==0)
      {
      ExtTRBuffer[0]=0.0;
      ExtATRBuffer[0]=0.0;
      //--- filling out the array of True Range values for each period
      for(i=1;i<rates_total;i++)
      ExtTRBuffer[i]=MathMax(High[i],Close[i-1])-MathMin(Low[i],Close[i-1]);
      //--- first AtrPeriod values of the indicator are not calculated
      double firstValue=0.0;
      for(i=1;i<=ExtPeriodATR;i++)
      {
      ExtATRBuffer[i]=0.0;
      firstValue+=ExtTRBuffer[i];
      }
      //--- calculating the first value of the indicator
      firstValue/=ExtPeriodATR;
      ExtATRBuffer[ExtPeriodATR]=firstValue;
      limit=ExtPeriodATR+1;
      }
      else limit=prev_calculated-1;
      //--- the main loop of calculations
      for(i=limit;i<rates_total;i++)
      {
      ExtTRBuffer[i]=MathMax(High[i],Close[i-1])-MathMin(Low[i],Close[i-1]);
      ExtATRBuffer[i]=ExtATRBuffer[i-1]+(ExtTRBuffer[i]-ExtTRBuffer[i-ExtPeriodATR])/ExtPeriodATR;
      }
      //--- return value of prev_calculated for next call
      return(rates_total);
      }

      //--- check for bars count
      if(rates_total<ExtPlotBegin)
      {

        return(0);
       }
      

      //--- starting calculation
      if(prev_calculated>1) pos=prev_calculated-1;
      else pos=0;
      //--- main cycle
      for(int i=pos;i<rates_total;i++)
      {
      //--- middle line
      MidPointBuffer[i]=SimpleMA(i,ExtBandsPeriod,price);
      //--- upper band 3
      UpperBand3Buffer[i]=MidPointBuffer[i]+(Factor3ExtATRBuffer[i]);
      //--- upper band 2
      UpperBand3Buffer[i]=MidPointBuffer[i]+(Factor2
      ExtATRBuffer[i]);
      //--- upper band 1
      UpperBand3Buffer[i]=MidPointBuffer[i]+(Factor1ExtATRBuffer[i]);
      //--- lower band 1
      LowerBand1Buffer[i]=MidPointBuffer[i]-(Factor1
      ExtATRBuffer[i]);
      //--- lower band 2
      LowerBand2Buffer[i]=MidPointBuffer[i]-(Factor2ExtATRBuffer[i]);
      //--- lower band 3
      LowerBand3Buffer[i]=MidPointBuffer[i]-(Factor3
      ExtATRBuffer[i]);
      //---
      }
      //---- OnCalculate done. Return new prev_calculated.
      return(rates_total);
      }

      //---
      0_1640526922467_0d70f8a2-ec14-4be0-ac13-512ae8f38194-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Mql4 to Mql5 convertor problem

      @mr-lenny Thx mr Lenny!.. @Fxdreema said he updated the convertor.. Maybe need he need to check it again because this is not the first error I get with the converter

      posted in Bug Reports
      AlphaOmega
      AlphaOmega
    • Mql4 to Mql5 convertor problem

      Hi Fxdreema... Maybe its me but could you please explain why I get this error when converting an indicator. Thank you

      The original file: 0_1640511652897_Market Profile ay-MarketProfileDWM.v1.31rev.mq4

      Converted Mql5 file: 0_1640511734787_Market Profile ay-MarketProfileDWM.v1.31rev.mq5

      And this is what comes out when compiled:
      0_1640511624934_d75c4ea1-a4ba-46c2-a020-4990426e713c-image.png

      posted in Bug Reports
      AlphaOmega
      AlphaOmega
    • Indicator Compiling error

      Morning everyone.. Could someone please help me finding why and fix errors in this indicator when compiling? Thank you
      0_1640506669608_BollingerzFibonacci.mq5
      0_1640506251354_cb1b7588-a2fe-4209-a5f1-26972ddc98c3-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Exit by indicator buffer colour

      @biztet maybe he can use your one with the correct buffers.. I am using mq5 so won't be able to test it

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Exit by indicator buffer colour

      @biztet He has not shared the indicator so I do not know how the indicator work exactly, I just gave some ways to close the orders he needs to close according to his start question.

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Exit by indicator buffer colour

      @trader-1978 You can make a condition and then stipulate your indicator signal within .. some indicators does not operate well with the SL function... Try as picture:
      0_1640300220182_309e8483-1b77-4efe-b375-890ca7dcfef8-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MQL market not supported for .ex5

      @fxdreema So I am confused... I changed to mt5 because the big guns here said it is more strict making it better but now it seems using Fxdreema it would be better for the coding part to use mt4? Advice is needed please.

      posted in Bug Reports
      AlphaOmega
      AlphaOmega
    • RE: Exit by indicator buffer colour

      @trader-1978
      I would suggest doing it like this:
      0_1640124113852_Capture.PNG

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: icustom ex5 arrow indi buffer help

      @stantham and your true colors are now showing... good luck!!

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: icustom ex5 arrow indi buffer help

      @stantham
      Respect is not the issue, no one has said anything there of. I am not rude, I am to the point, that's my nature. Read back and see how many times has been said .. you cannot be helped with this indicator because of the buffer problem? I have gone out of my way to create the buffers that is available. Jstap have made a code with the buffers that is available but, still you persist on a solution? You have not shown one attempt of your own creation where you are actually trying yourself?
      I do not care how many million of people are looking for a solution as to solving this indicator problem in Fxdreema....... It cannot be solved because of the way it was originally coded.. End of story.
      I also do not care how many million of indicators more there is, that is coded this way... It will not have a solution in Fxdreema... end of story.
      I, as many people here has also discarded many indicators because of buffer problems and regarded useless in Fxdreema, Yours are not the first.

      Now.. If I offended you with my manner of answering... I apologize to you sincerely ... you forgive or you don't. End of story.

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: icustom ex5 arrow indi buffer help

      @stantham What exactly you want me to figure out? If jstap who is a programmer and much better at Fxdreema than me cannot help you, I for sure cannot..
      What specific is your strategy? I want a detailed description! ....not this: Make an expert from indicator nonsense.
      If you want to sell top of trend and buy at low of trend you do not need this indicator. If it was so easy to make money from only this malaas indicator there will be no other indicators but only variables of this specific indicator because why would we need any other indicator? Everyone would have only used malaas.
      I want to help bru but I do not know how to help you? The indicator does not show the buffer you want so what else is left here for anyone wanting to help you?

      Edit: Here I have put a full expert I was working on .. maybe look at it and add something or change it to your liking..
      https://fxdreema.com/shared/RxqAGbGKc

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: icustom ex5 arrow indi buffer help

      @stantham hopefully jstap will give you the help you need now that you have the mq5

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: icustom ex5 arrow indi buffer help

      @stantham You had it all the time?.... Why share the ex5 in the first place?... Anyway ... lets hope there is a coder with a good heart to help you with the buffers.... good luck

      Looks like here is the code needed to put icustom

      double ZigzagLawnBuffer1[],ZigzagPeakBuffer1[];
      double ZigzagLawnBuffer2[],ZigzagPeakBuffer2[];

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 28
    • 29
    • 4 / 29