Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting Decimal Values

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

    Backtesting Decimal Values

    Is it possible in Strategy Analyzer to backtest or optimize decimal values (1.50, etc) from a user input double data type?

    Also would it be possible to backtest/optimize negative numbers?
    Last edited by RiskyBuisness; 11-01-2024, 03:35 AM.

    #2
    Hello RiskyBuisness,

    It would be suggested to use an int and then use that for math in your logic. For example

    2 / 100 = 0.02
    3 / 100 = 0.03
    4 / 100 = 0.04

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    129 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    74 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    116 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    111 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    89 views
    0 likes
    Last Post CarlTrading  
    Working...
    X