fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    History tape color

    Questions & Answers
    2
    2
    666
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Babago last edited by

      Hi,
      i use a set of custom indicators that i want to import in the EA generator.
      Two of them use history tape visualization.
      The others i'm asking to a programmer to convert also them in history tape.

      For the moment i don't find the way to extract the color of the indicator and use it in the ea generator.
      You think is it possible? i found the buffer but don't understand how to check the color.

      i attach here the one i already have, but for the others i have to ask something in particular to the programmer
      so i can use later on the generator?

      Thanks all for your help

      https://dl.dropboxusercontent.com/u/492826/Schermata 2014-05-15 alle 00.02.42.png
      https://dl.dropboxusercontent.com/u/492826/Stoch-Tape.mq4

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        How can you compile this indicator anyway?

        // indicator parameters
        extern string    Indi.Version= INDICATOR_VERSION;
        extern string    TimeFrame.Settings="——————————————————————————————";
        extern int       TimeFrame.Period=0;            // Timeframe: 0,1,5,15,30,60,240,1440 etc. Current Timeframe=0. 
        extern int       TimeFrame.Auto=1;              // Automatically select higher TF. M15 and M30 -> H1. Off=0, 1st HTF=1, 2nd HTF=2
        extern string    Stoch.Settings="——————————————————————————————";
        extern int       Stoch.KPeriod=11;
        extern int       Stoch.Slowing=3;
        extern int       Stoch.MAMethod=MODE_SMA;       // "<< SMA=0, EMA=1, SMMA=2, LWMA=3 >>";
        extern int       Stoch.PriceField=1;            // "<< 0=High/Low, 1=Close/Close >>";
        extern int       Stoch.Low=20;
        extern int       Stoch.High=80;
        

        With these "." in the variable names... at least I got errors about that.

        Otherwise only your eyes care about colors, programs work with numbers. Buffers should give you data that represents those colors in some way, for example blue can be 1, red can be 0, or something else that means something and can be used from the EA.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        J
        L
        S
        E

        15
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors