NexusFi: Find Your Edge


Home Menu

 





Easy Language to Ninja Script


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one RJay with 1 posts (2 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 Big Mike with 1 posts (0 thanks)
    4. looks_4 fireman912 with 1 posts (0 thanks)
    1. trending_up 5,154 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?
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
World Cup Opens: USA at 45.5% Tonight as Markets Push Ba …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 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,577

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