History tape color
-
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 -
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.