Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

valid expression in thinkscript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    valid expression in thinkscript


    Hello, I would like to know what would be the correct expression in thinkscrpt 8 of the following line: variable = wma(2 * wma(High, len / 2) - wma(High, len), round(sqrt(len))) Could you help me with that? Thanks!

    #2
    Hello gviand,

    Can you clarify, are you asking what the NinjaScript equivalent to that is? This is the NinjaTrader support forum so we wouldn't be able to say what the thinkscript for the given equation is, NinjaTrader does not use thinkscript but uses C# programming language which is the NinjaScript language in NinjaTrader.

    What you have shown could be mostly generated using the strategy builder however the math you are using would be easier done in manual coding.

    Comment


      #3
      Thankyou for your response.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      169 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      324 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      250 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      352 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      180 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X