Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Usar logaritmos de cierres

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

    Usar logaritmos de cierres

    En vez de usar los precios de cierre estoy intentando usar los logaritmos asi Math.Log(Close) pero esto produce un fallo CS1502

    #2
    Hi xorcar,
    Close is a data series, not a variable.
    Try using Math.Log[Close[0]).
    NT-Roland

    Comment


      #3


      I want the series of the logarithms of the closures to apply indicators with them, for example the moving average

      Comment


        #4
        Hello xorcar,

        Thanks for your post and welcome to the NinjaTrader forums!

        I would suggest storing the log value of each close value into a custom series. You can then apply the custom series to any indicator as the input series to that indicator.

        Reference: https://ninjatrader.com/support/help...8/?seriest.htm

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        91 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        137 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        121 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        72 views
        0 likes
        Last Post PaulMohn  
        Working...
        X