I am a newbie and want to get HA in a new window.. - page 4

 
Any comments phy?
 

index buffers are not related to the problem

 

int deinit()
{
// deleting names of timeframes
for(int x=0;x<Bars;x++)
ObjectDelete("Heikin-Ashi-HL-"+x);
for(x=0;x<Bars;x++)
ObjectDelete("Heikin-Ashi-OC-"+x);

return(0);
}


This fixes duplicate bars

Now how to fix rounded edges of boxes Plz?

 

Looks good...

Is your width 5?

Use 3.

Or, accept it, or complain to developers.

 

Thanks Phy, I am nearly there, I think i have to complain to developers.

Do you think the buy signals are very good on time (hadiffco ma cross up 0) . Sell is a bit lagging by one or 2 bars, but buy is spot on.

I am now trying to get a EA working with this indicator. MY next expedition. I appreciate your help and your kind support.

I am reading links to make sure how to call custom indicators from EA.

Any comments from your side or an starting example to make this as a EA,

Entery condition:

Buy on cross up over zero

Exit Condition:

sell on cross down under zero

 
Any comments phy?
 


... Ok

... Don't know what haDiffCo is

... calling iCustom is not hard. You have to input all the parameters in that indicator's Options, and have to select which indicator index to get data from.

... crossings tend to look better on paper than in actuality

... break your code into logical functions, it is easier to modify, change idea, add feaature, etc.

Reason: