NexusFi: Find Your Edge


Home Menu

 





Easy Language to Ninja Script


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 1 posts (0 thanks)
    2. looks_two fireman912 with 1 posts (0 thanks)
    3. looks_3 slacker with 1 posts (0 thanks)
    4. looks_4 RJay with 1 posts (2 thanks)
    1. trending_up 5,039 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 
fireman912's Avatar
 fireman912 
houston tx
 
Experience: Intermediate
Platform: infinity
Trading: 6E
Posts: 37 since Jan 2010
Thanks Given: 55
Thanks Received: 24

Hi i have an indicator for tradestation that i would like to convert to ninja script. If anyone can do this for me please send me a PM with your email. Am willing to pay for getting it done.

Thanks, Hugo


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CME Group Fee Schedule Changes Hit All Four Exchanges -- …
Traders Hideout
Prop Firm Tracked Payouts Hit $115M in Q1 but Growth Fla …
Funded Trading Evaluation Firms
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 slacker 
Durham, NC
 
Experience: Beginner
Platform: NinjaTrader
Trading: No Idea
Posts: 7 since Jul 2010
Thanks Given: 6
Thanks Received: 8


Hi, I am trying to convert the MorningFade V2 strategy from the Battle of the Bots to NinjaScript to forward test myself but I don't know anything about EasyLanguage.
Most of it is pretty straightforward but a couple of details are still puzzling me.
If someone could offer some assistance I would appreciate it.

It's mostly this line:
 
Code
VoltShort = K * StandardDev( Log( C of data2 / C[1] of data2 ), VoltShortPerod, 1 )
K is a variable and I get StandardDev and Log but what does "C of data2" and "C[1] of data2" mean?

A search through the forum led me to BigMike's explanation that said data1 was the order entry structure and data2 was the chart data (I think that's what he said anyway) but what is "C"? Is that shorthand for Close?

Thanks in advance for your time.
Todd.


Reply With Quote
  #4 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 Vendor: www.innovative-trading-solutions-online.com 
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: ES
Posts: 687 since Jun 2009
Thanks Given: 765
Thanks Received: 789

here is some documentation I downloaded from somewhere a while back.
Hope it helps,

RJay


Attached Thumbnails
Easy Language to Ninja Script-el_essentials.pdf   Easy Language to Ninja Script-el_functionsandreservedwords_ref.pdf  
Reply With Quote
Thanked by:
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,557

Please keep in mind Battle of the Bots is Elite so don't post too much code in non-Elite areas.

C of data2 means closing price (Close[0] in ninja) of dataseries 2, as in a secondary dataseries on the chart. C[1] means same as Close[1] in ninja, close of prior bar.

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on June 23, 2011


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts