Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Slope of EMA

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

    Slope of EMA

    Hello,

    I want to develop a strategy that will execute if the slope of the EMA 34 is greater than 30 degrees for long side trades, or greater than -30 degrees for short side trades, what is the code to calculate this?

    Thanks,
    Jim

    #2
    Jim, you would need to custom code this type of strategy, for the 'rise over run' slope value, please try the Slope() method we have available in NinjaScript - http://www.ninjatrader-support.com/H...eV6/Slope.html
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by larkmail, Today, 12:30 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by omermirza, Today, 12:39 PM
    0 responses
    6 views
    0 likes
    Last Post omermirza  
    Started by Danila, Today, 11:08 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by dbida001, Today, 10:31 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by Brandon9821, Today, 08:27 AM
    3 responses
    31 views
    0 likes
    Last Post Brandon9821  
    Working...
    X