View Single Post
  #14 (permalink)  
Old 11-23-2006, 02:20 PM
Wackena's Avatar
Wackena Wackena is offline
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
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
Reply With Quote