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 4,455 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread

Easy Language to Ninja Script

  #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?
Are there any eval firms that allow you to sink to your …
Traders Hideout
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Futures True Range Report
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
23 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 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
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 757
Thanks Received: 787

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,399 since Jun 2009
Thanks Given: 33,174
Thanks Received: 101,539

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 Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on June 23, 2011


© 2024 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 - Privacy Policy - Downloads - Top
no new posts