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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      40 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      27 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      44 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      37 views
      0 likes
      Last Post CarlTrading  
      Working...
      X