fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. bossx
    3. Posts
    • Profile
    • Following 1
    • Followers 0
    • Topics 6
    • Posts 29
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by bossx

    • RE: Tutorial 06 - My Indicators in fxDreema

      @miro1360 ThankYou soo much i have not tested it yet caz of work but whn i get home on the weekend i wil do n lol i offered you money because i had a lot more indicators that i would like you to help me with i just wanted to show you my appreciation thats all đŸ™‚

      posted in Tutorials by Users
      bossx
      bossx
    • RE: Tutorial 06 - My Indicators in fxDreema

      @miro1360 i did but i still cant seem to get it to work is there a way you could do this for me and send it to me please i will pay! you if you would like ? i got a lot of indicators that i would love to make in to an ea
      i can get some of the indicators to work on fx but most of the ones i try dont seem to work. what do you say?

      posted in Tutorials by Users
      bossx
      bossx
    • RE: Tutorial 06 - My Indicators in fxDreema

      hi @miro1360 0_1497054305304_pz-lopeztrend-indicator[1].ex4 is there any way i could upload this indicater to fxdreem when i look at the inputs dater it comes up with setting of alerts there is no infor of input parameters will it still work ?
      0_1497054915467_Screenshot (8).png 0_1497054929346_Screenshot (7).png

      posted in Tutorials by Users
      bossx
      bossx
    • BUY WHEN EA PLOTS LINE

      i have made an ea that plots a side ways line and then i want my ea to buy or sell when the prices is above the line or below i tried doing it my self but i just cant get it to work i named the object as (A) and put a coditions block when ma move above line buy now ...... but it dnt seem to work ? any way to fix this

      posted in Questions & Answers
      bossx
      bossx
    • RE: problem with custom indicators

      @miro1360 will this be the same as the indecater that i wanted

      posted in Questions & Answers
      bossx
      bossx
    • RE: problem with custom indicators

      Yes i am useing it in the mq5 project and when i import it the name of the indicator is different its called hilo but then again i did what you told me to do i put in gann_hi_lo_activator_ssl as the name and it came up with one buffer and no dater type so i put in the dater type as you shown above and set the buy and sell conditions like you said and then put the ea in to my metertrader ea folder and the ea was not there so i checked the code of the ea compiled it and there was like 8 errors

      https://fxdreema.com/builder

      posted in Questions & Answers
      bossx
      bossx
    • RE: Tutorial 06 - My Indicators in fxDreema

      hey miro am having some problems with my indicators could you please help ?

      posted in Tutorials by Users
      bossx
      bossx
    • RE: problem with custom indicators

      @bossx sorry here is the code

      //+------------------------------------------------------------------+
      //| Gann_Hi_Lo_Activator_SSL.mq5 |
      //| avoitenko |
      //| https://login.mql5.com/en/users/avoitenko |
      //+------------------------------------------------------------------+
      #property copyright ""
      #property link "https://login.mql5.com/en/users/avoitenko"
      #property version "1.00"
      #property description "Author: Kalenzo"

      #property indicator_chart_window
      #property indicator_buffers 5
      #property indicator_plots 1
      //--- output line
      #property indicator_type1 DRAW_COLOR_LINE
      #property indicator_color1 clrDodgerBlue, clrOrangeRed
      #property indicator_style1 STYLE_SOLID
      #property indicator_width1 2
      #property indicator_label1 "GHL (13, SMMA)"
      //--- input parameters
      input uint InpPeriod=13; // Period
      input ENUM_MA_METHOD InpMethod=MODE_SMMA;// Method
      //--- buffers
      double GannBuffer[];
      double ColorBuffer[];
      double MaHighBuffer[];
      double MaLowBuffer[];
      double TrendBuffer[];
      //--- global vars
      int ma_high_handle;
      int ma_low_handle;
      int period;
      //+------------------------------------------------------------------+
      //| Custom indicator initialization function |
      //+------------------------------------------------------------------+
      int OnInit()
      {
      //--- check period
      period=(int)fmax(InpPeriod,2);
      //--- set buffers
      SetIndexBuffer(0,GannBuffer);
      SetIndexBuffer(1,ColorBuffer,INDICATOR_COLOR_INDEX);
      SetIndexBuffer(2,MaHighBuffer,INDICATOR_CALCULATIONS);
      SetIndexBuffer(3,MaLowBuffer,INDICATOR_CALCULATIONS);
      SetIndexBuffer(4,TrendBuffer,INDICATOR_CALCULATIONS);

      //--- get handles
      ma_high_handle=iMA(NULL,0,period,0,InpMethod,PRICE_HIGH);
      ma_low_handle =iMA(NULL,0,period,0,InpMethod,PRICE_LOW);
      if(ma_high_handle==INVALID_HANDLE || ma_low_handle==INVALID_HANDLE)
      {
      Print("Unable to create handle for iMA");
      return(INIT_FAILED);
      }
      //--- set indicator properties
      string short_name=StringFormat("Gann_Hi_Lo_Activator_SSL (%u, %s)",period,StringSubstr(EnumToString(InpMethod),5));
      IndicatorSetString(INDICATOR_SHORTNAME,short_name);
      IndicatorSetInteger(INDICATOR_DIGITS,_Digits);
      //--- set label
      short_name=StringFormat("GHL (%u, %s)",period,StringSubstr(EnumToString(InpMethod),5));
      PlotIndexSetString(0,PLOT_LABEL,short_name);
      //--- done
      return(INIT_SUCCEEDED);
      }
      //+------------------------------------------------------------------+
      //| 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 &tick_volume[],
      const long &volume[],
      const int &spread[])
      {

      if(rates_total<period+1)return(0);
      ArraySetAsSeries(close,true);
      //--- set direction
      ArraySetAsSeries(GannBuffer,true);
      ArraySetAsSeries(ColorBuffer,true);
      ArraySetAsSeries(MaHighBuffer,true);
      ArraySetAsSeries(MaLowBuffer,true);
      ArraySetAsSeries(TrendBuffer,true);
      //---
      int limit;
      if(rates_total<prev_calculated || prev_calculated<=0)
      {
      limit=rates_total-period-1;
      ArrayInitialize(GannBuffer,EMPTY_VALUE);
      ArrayInitialize(ColorBuffer,0);
      ArrayInitialize(MaHighBuffer,0);
      ArrayInitialize(MaLowBuffer,0);
      ArrayInitialize(TrendBuffer,0);
      }
      else
      limit=rates_total-prev_calculated;
      //--- get MA
      if(CopyBuffer(ma_high_handle,0,0,limit+1,MaHighBuffer)!=limit+1)return(0);
      if(CopyBuffer(ma_low_handle,0,0,limit+1,MaLowBuffer)!=limit+1)return(0);
      //--- main cycle
      for(int i=limit; i>=0 && !_StopFlag; i--)
      {
      TrendBuffer[i]=TrendBuffer[i+1];
      //---
      if(NormalizeDouble(close[i],_Digits)>NormalizeDouble(MaHighBuffer[i+1],_Digits)) TrendBuffer[i]=1;
      if(NormalizeDouble(close[i],_Digits)<NormalizeDouble(MaLowBuffer[i+1],_Digits)) TrendBuffer[i]=-1;
      //---
      if(TrendBuffer[i]<0)
      {
      GannBuffer[i]=MaHighBuffer[i];
      ColorBuffer[i]=1;
      }
      //---
      if(TrendBuffer[i]>0)
      {
      GannBuffer[i]=MaLowBuffer[i];
      ColorBuffer[i]=0;
      }
      }
      //--- done
      return(rates_total);
      }
      //+------------------------------------------------------------------+

      posted in Questions & Answers
      bossx
      bossx
    • problem with custom indicators

      hi guys am new to fxdreema and i think its great ! but am having a few problems when i upload a custom indicater for sum reason when i add the custom indi to the my indicator folder on most of the indicators it dont come up with any buffers on int dater and when i type them in manually the ea dosnt do anything can any one help me please ? [0_1494707901010_aime_5820_crossover_alertnomas.mq4](Uploading 100%)
      this is the code for the indicator

      posted in Questions & Answers
      bossx
      bossx
    • 1
    • 2
    • 2 / 2