Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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/0CJNV54Z

Thank you!

Posted
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/0CJNV54Z

Thank 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.

Posted (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 by ArtOfTrade
Posted
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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...