Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Very Basic - Calculate Stop Loss $$ Value & Display on Screen

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

    Very Basic - Calculate Stop Loss $$ Value & Display on Screen

    I need very very basic indicator

    "To Calculate Potential Loss Value in $$ if Stop Loss Hits"

    For Example, If I buy long 5 emini contracts with average price of $4000.00 and set my Stop Loss at $3999.00, then

    ie. Formula Will be = Price per Tick * (Current Trade Price - Stop Loss Price) multiply by # of Contracts

    Potential Stop Loss Value will be = $12.5 * (4000.00-3999.00) * 5 = 12.5 x 4 ticks x 5 = $250

    How to put this in a formula and make an indicator to display on the Chart? I can understand technical steps but am not a programmer. So if you can reply with little patience it will help.

    Will the displayed value automatically change every time I am adjusting stop loss up/down or changing amount of contracts (buying more or selling)?

    #2
    Hi grimes12, thanks for posting. Unfortunately, the support team will not be able to create custom strategies. Our colleague has made a similar example though, see here for the Advanced Risk/Reward indicator:

    This is a port of the NinjaTrader 7 AdvancedRiskReward.v3 indicator. This indicator helps you define your entry, stop and target (1 or 3) visually on the chart with the help of horizontal lines, calculates your potential P/L ,unrealized P/L,Risk/Reward ratio and contracts sizing per account size. Once started click on the chart 3 times there […]


    There is also a basic Risk Reward drawing tool built into the platform by default.

    Kind regards.

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    52 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by iceman2018, Today, 05:07 PM
    0 responses
    5 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    7 views
    0 likes
    Last Post lightsun47  
    Started by 00nevest, Today, 02:27 PM
    1 response
    14 views
    0 likes
    Last Post 00nevest  
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    50 views
    0 likes
    Last Post futtrader  
    Working...
    X