Reply

can’t open file … *sqheikenashi.ex4

2 replies

eastpeace

Customer, bbp_participant, community, sq-ultimate, 305 replies.

Visit profile

6 years ago #117854

2017.07.03 12:37:13.096 2017.03.15 00:00:00  oil-day USCRUDE,Daily: 2017.03.15 00:00 Existing order doesnt exist
2017.07.03 12:37:13.096 2017.03.15 00:00:00  cannot open file ‘C:\Users\…….430DD1287919FFF5B4\MQL4\indicators\SqHeikenAshi.ex4’ [2]
2017.07.03 12:37:13.095 2017.03.15 00:00:00  cannot open file ‘C:\Users\…..53CC430DD1287919FFF5B4\MQL4\indicators\SqHeikenAshi.ex4’ [2]
2017.07.03 12:37:13.095 2017.03.14 15:00:00  Tester: stop loss #596 at 47.56 (47.53 / 47.58)
 

I found that in Mt4’s log, when doing  ea test

 

 

But there is henkenashi func in ea. Is that normal?

 

 

double sqHeikenAshi(string symbol, int timeframe, string mode, int shift) {
   if(symbol == “NULL” || symbol == “Current”) {
      if(mode == “Open”) {
         return(iCustom(NULL, timeframe, “SqHeikenAshi”, 0,0,0,0, 2, shift));
      }
      if(mode == “Close”) {
         return(iCustom(NULL, timeframe, “SqHeikenAshi”, 0,0,0,0, 3, shift));
      }
      if(mode == “High”) {
         return(MathMax(iCustom( NULL, timeframe, “SqHeikenAshi”, 0,0,0,0, 0, shift), iCustom( NULL, timeframe, “Heiken Ashi”, 0,0,0,0, 1, shift)));
      }
      if(mode == “Low”) {
         return(MathMin(iCustom( NULL, timeframe, “SqHeikenAshi”, 0,0,0,0, 0, shift), iCustom( NULL, timeframe, “Heiken Ashi”, 0,0,0,0, 1, shift)));
      }
   } else {
      if(mode == “Open”) {
         return(iCustom( symbol, timeframe, “SqHeikenAshi”, 0,0,0,0, 2, shift));
      }
      if(mode == “Close”) {
         return(iCustom( symbol, timeframe, “SqHeikenAshi”, 0,0,0,0, 3, shift));
      }
      if(mode == “High”) {
         return(MathMax(iCustom( symbol, timeframe, “SqHeikenAshi”, 0,0,0,0, 0, shift), iCustom( symbol, timeframe, “Heiken Ashi”, 0,0,0,0, 1, shift)));
      }
      if(mode == “Low”) {
         return(MathMin(iCustom( symbol, timeframe, “SqHeikenAshi”, 0,0,0,0, 0, shift), iCustom( symbol, timeframe, “Heiken Ashi”, 0,0,0,0, 1, shift)));
      }
   }
   return(-1);
}

 

 

 

 

0

eastpeace

Customer, bbp_participant, community, sq-ultimate, 305 replies.

Visit profile

6 years ago #144992

Thank you, @notch!

0

Drooley

Customer, bbp_participant, community, 0 replies.

Visit profile

6 years ago #197565

Hi @notch,

I am having the same problem, but I cannot seem to find the custom indicators in the SQ4 Beta 5 folder.

Do you have the exact location?

Thanks!

0

Viewing 2 replies - 1 through 2 (of 2 total)