name000 Posted June 18, 2011 Report Posted June 18, 2011 I would really appreciate if somebody can help me to add buffers properly to G0iler indi. I tried to add my self, but I receive EMPTY_VALUE and I don't know where is the problem. Here are both files (original and with added buffers): http://mir.cr/0CJNV54ZThank you!
ArtOfTrade Posted June 18, 2011 Report Posted June 18, 2011 I would really appreciate if somebody can help me to add buffers properly to G0iler indi. I tried to add my self, but I receive EMPTY_VALUE and I don't know where is the problem. Here are both files (original and with added buffers): http://mir.cr/0CJNV54ZThank you! Incorrect use of buffer. no looping was done on buffer such as: for(int i = 0; i < limit; i++) bbMacd = iMA(NULL, 0, FastLen, 0, MODE_EMA, PRICE_CLOSE, i) - iMA(NULL, 0, SlowLen, 0, MODE_EMA, PRICE_CLOSE, i); You want to convert to buffer mode, will be difficult for you.
name000 Posted June 18, 2011 Author Report Posted June 18, 2011 I'm not a programmer, and I'm not even sure that I understood you right :) Modifications were not complete? Buffers need loop? Thanks!
ArtOfTrade Posted June 18, 2011 Report Posted June 18, 2011 (edited) hi, You can put the following code and your line will appear. #property indicator_chart_window #property indicator_buffers 6 #property indicator_color1 CLR_NONE #property indicator_color2 White #property indicator_color3 Orange #property indicator_color4 Lime #property indicator_color5 DodgerBlue #property indicator_color6 Red These are the 8 displaying Buffers that required looping for repetitive task such as price derived indicators and some periodic calculation like Pivot lines , Support & Resistance line etc. If not it is best to use Object. In the above code, will turn on the color, but is not the right way, the buffer still got not much effect in the programming. Edited June 19, 2011 by ArtOfTrade
name000 Posted June 19, 2011 Author Report Posted June 19, 2011 Sorry, I didn't explain why I need these buffers in there. This indi create 5 lines on chart (Entry1, Entry2, TP1, TP2 and SL). I need to pickup this data with iCustom from EA, and only way to do that is through buffers. If there is some other way how I can get data from indi I would really like to know. Thank you for your efforts!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now