fxDreema

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

    Posts made by Flipflop4

    • RE: How can I upload my own indicator?

      Thank you so much for your reply. Been away but now I'm back I'll try everything you've mentioned.

      posted in Questions & Answers
      F
      Flipflop4
    • RE: How can I upload my own indicator?

      A link to the second indi I'm trying to use http://dropcanvas.com/4nu13 - it's the HGI indicator from stevehopwoodforex, created by minds far superior to mine.

      posted in Questions & Answers
      F
      Flipflop4
    • RE: How can I upload my own indicator?

      I have a question (more like a desperate plea for help) about custom indicators so rather than start a new thread I'll pop it here. I'm trying to create an EA which uses the output signals (are these called buffers?) from two custom indicators. I read the help about using the 'trace' block but couldn't find the block itself. I thought maybe it had been replaced with the 'Indicator tester' block but I really am a complete novice at this so didn't know what to do with it.

      Anyway, one of the indicators gives out big red and green arrows (amongst other signals) and the other is a moving average indicator which changes between Green (Up), Red (Down) and Yellow (Flat) - what I'd like to do is have it so that when several of these MAs are in agreement with each other and the last big arrow signal (within X candles) the EA opens a buy/sell order and we take it from there. Seems simple enough but I can't get my head around how to make the conditions do what I need them to do.

      The part of code below is for the ma in colour indi... hoepfully pasted the right bit.

      //---- indicator settings
      
      #property  indicator_chart_window
      #property  indicator_buffers 3
      #property indicator_color1 Yellow      
      #property indicator_color2 Green
      #property indicator_color3 Red
      
      extern int       MAPeriod=14;
      extern int       MAType=1;
      
      //---- buffers
      
      double ExtMapBuffer1[];
      double ExtMapBuffer2[];
      double ExtMapBuffer3[];
      
      //---- variables
      
      int    MAMode;
      string strMAType;
      
      
      //+------------------------------------------------------------------+
      //| Custom indicator initialization function                         |
      //+------------------------------------------------------------------+
      int init()
        {
         IndicatorBuffers(3);
         
      //---- drawing settings
         SetIndexBuffer(2,ExtMapBuffer1);
         SetIndexBuffer(1,ExtMapBuffer2);
         SetIndexBuffer(0,ExtMapBuffer3);
         
         SetIndexStyle(2,DRAW_LINE,STYLE_SOLID,2);
         SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,2);
         SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,2);
      

      So at the moment I have the left operand in the condition block set to my indicators > ma in colour > selected the buffer (e.g., green) == value, numeric, 1 (right operand).... clearly this isn't right. I only have the ex4 for the other indicator so I'll try find a way to either attach it or link it here...

      Thanks in advance and apologies for the headache!

      posted in Questions & Answers
      F
      Flipflop4
    • RE: Crossover help

      Just noticed the next thread down in the forum about input parameters for the adjust!

      posted in Questions & Answers
      F
      Flipflop4
    • RE: Crossover help

      Thank you for such a thorough reply. Now that you've explained it it makes perfect sense. Now the hard part is going to be figuring out if there's a way to match the values of the rsi and MACD. I read somewhere that there is a way to stop the MACD from being unbounded by setting a firm minimum and maximum which I think would probably help in creating an overall formula to match the values but I'm not sure how it would affect the accuracy. Either that or using WindowPriceMax and Min... is there a way to incorporate these into the adjust parameters?

      I read a thread https://forum.mql4.com/52883 in which the OP seems to trying to achieve a similar goal, there were a few suggestions thrown in but none that seem to have solved the problem fully. However, OP did point out that there must be some mechanism within MT4 which scales these indicators together (even if it is just the visual representation). Anyway, I'm already way out of my depth here so I'll plod on with it manually while I'm developing the idea and trying to work out if it's doable.

      Thanks for that example as well, incorporated the idea (with adjustment (X-50)/500, just picked a random chart and the min/max values of the macd were roughly 0.1 & -0.1) into what I already had and now I've managed to get some trades opening! Even if they are all losers 🙂

      Thanks again!

      posted in Questions & Answers
      F
      Flipflop4
    • RE: Crossover help

      In case I wasn't clear enough with my description, this is what I'm hoping to capture with this EA. See orange circles - http://prntscr.com/at1mjb The cleaner the cross and steeper the angle of the crossover the better.

      posted in Questions & Answers
      F
      Flipflop4
    • RE: Crossover help

      Hi,

      This is my first post and let me start by saying a huge thanks to fxDreema for creating such an incredible tool. I'm planning on subscribing just as soon as I can get my head round some of the basic functions which I'm struggling with at the moment. Specifically, crossovers! This is what I have so far, I thought I'd try and get the basics down before adding on the bells and whistles - https://fxdreema.com/shared/5ggzmeFT

      The bare bones of the EA would be opening a sell trade when MACD signal line crosses above three RSI lines (Periods 4, 9 & 14) between the present candle (0) and the previous (1) and a buy when the MACD signal line crosses below these with the same rules. At the moment I've only tried to create the conditions for the opening of sell trades. If you check the above link you'll see that I have 3 consecutive condition blocks (one for each MACD/RSI crossover) followed by the sell condition (ignore the TP/SL settings, I'm just trying to get it to open trades at the moment before I add any further conditions, etc).

      Any help would be absolutely great.

      Thanks!

      posted in Questions & Answers
      F
      Flipflop4
    • 1 / 1