Quote:
|
Originally Posted by Wackena
In reviewing the Turbo_JEVL Indicator code, another question. The indicator has this code.
Code:
if ((Symbol()=="USDJPYm") || (Symbol()=="EURJPYm") || (Symbol()=="JPGBPYm"))
{
series = ((High[shift]+Low[shift]+Close[shift])/3);
} else {
series = ((High[shift]*100 + Low[shift]*100 + Close[shift]*100)/3);
}
Should the code be this for all JPY pairs and both Standard and Mini/Micro accounts. And there is a typo above, "JPGBPYm" should be "GBPJPYm"
Code:
if ((Symbol()=="USDJPY") || (Symbol()=="USDJPYm") || (Symbol()=="EURJPY") || (Symbol()=="EURJPYm") || (Symbol()=="GBPJPY") || (Symbol()=="GBPJPYm") || (Symbol()=="CHFJPY") || (Symbol()=="CHFJPYm") || (Symbol()=="NZDJPY") || (Symbol()=="NZDJPYm") )
{
series = ((High[shift]+Low[shift]+Close[shift])/3);
} else {
series = ((High[shift]*100 + Low[shift]*100 + Close[shift]*100)/3);
}
Wackena
|
Well aren't you just the little code scrutinizer!! LOL.
Actually, that code really makes no difference for the purposes of the EA call. That was a small mod I stuck in there to make the bars on the histogram larger because due to time scaling, they're hard to read on larger TF's. The underlying slope values are unaffected which is what the EA depends upon. In any event, attached is a modified version of the indicator to take into account either mini or standard accounts.
