Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Parameter value showing as 1 in Backtest menu

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

    Parameter value showing as 1 in Backtest menu

    Hi,

    I have added a new parameter which takes values less than 1. However when I open the strategy in the Strategy Analyzer, under the BackTest pop out menu the parameter is shown as taking the value 1? For example, the default value for myParam = 0.15 in my strategy code but myParam displays as 1 under BackTest? myParam is a double and the strategy appears to be using 1 in the backtest instead of 0.15.

    Is there a reason for this?

    Thanks,
    darmbk.

    ANSWERED
    I was using set{ myParam = Math.Max(1, value);} under Properties. I have changed this to just value as I want values less than 1!
    Last edited by darmbk; 07-03-2013, 12:06 PM.

    #2
    ANSWERED
    I was using set{ myParam = Math.Max(1, value);} under Properties. I have changed this to just value as I want values less than 1!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by zstheorist, Today, 07:52 PM
    0 responses
    5 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    150 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    6 views
    0 likes
    Last Post tkaboris  
    Working...
    X