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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      88 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      48 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      30 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      34 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      68 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X