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 NullPointStrategies, Today, 05:17 AM
        0 responses
        53 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        70 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X