Reply To: Scan Code Error

Optuma Forums Optuma Scripting Scan Code Error Reply To: Scan Code Error

#53281
David
  • Topics: 20
  • Replies: 22
  • Posts: 42

Thanks for your reply,

I changed my X and Y variables to the following, but I still have the same error.

<pr>
// =========================================
// Slope Of Signal Line
// =========================================
#$X = 5;
#$Y = MA(STYLE=Exponential, BARS=12, CALC=Close) – MA(STYLE=Exponential, BARS=17, CALC=Close) ;
// =========================================
// Buying Criteria
// =========================================
Criteria1 = ArcTan(#$Y/#$X) * 180 / Pi >= 1;
</pr>

 

Pin It on Pinterest