Jump to content

HELP Fixing this Indicator Code


Recommended Posts

Would one of you programmers please take a look at the attached indicator code and tell me why a new dot doesn't show up until I refresh the chart or change time frames?

 

This is a neat signal based on S&R if I can get it to show up automatically instead of having to change time frames or refresh the chart.

 

Please help me fix this problem.

 

Thanks

Link to comment
Share on other sites

Re: (Req) HELP Fixing this Indicator Code

 

Hi,fellow trader.

You just have to add the following in the code and then compile and thats all ;)

SetIndexStyle(0, DRAW_ARROW, EMPTY);

SetIndexStyle(1, DRAW_ARROW, EMPTY);-here added is 'EMPTY'

 

 

 

and the following line in 'int Start()'

 

if (l_ind_counted_0 > 0) l_ind_counted_0--;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...