NexusFi: Find Your Edge


Home Menu

 





need help !


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one soumi71 with 9 posts (2 thanks)
    2. looks_two zeller4 with 3 posts (3 thanks)
    3. looks_3 gregid with 2 posts (4 thanks)
    4. looks_4 RBSailing with 2 posts (1 thanks)
      Best Posters
    1. looks_one gregid with 2 thanks per post
    2. looks_two zeller4 with 1 thanks per post
    3. looks_3 RBSailing with 0.5 thanks per post
    4. looks_4 soumi71 with 0.2 thanks per post
    1. trending_up 4,953 views
    2. thumb_up 10 thanks given
    3. group 6 followers
    1. forum 17 posts
    2. attach_file 7 attachments




 
Search this Thread

need help !

  #1 (permalink)
 soumi71 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: CL , 6E
Posts: 199 since Jun 2009
Thanks Given: 760
Thanks Received: 275

HI traders
Fisrt of All I would like to thank Mike for this awesome forum , I love it , but I have never posted anything , I have trading ES since October 08 ( bad timing ! lol)
still trying to fing a setup that works for me , and I think I just did lately and would like some help automating it , it's a simple strategy that uses the HMA crossover , works good on Range bars ( I got this from Mike , thanks for introducing me to Range bars !! )
Ninja Trader actually comes with a sample MA crossover but it uses SMA 's and I found that HMA behave better , so I tried to change it but could not ( I am not a progammer ) but thought I tried my best knowledge ...
Can someone help me out , I can't afford to pay anyone yet , still on the sim and struggling to recover my losses
Thank you !
Warm Regards
Sonia

Attached Thumbnails
Click image for larger version

Name:	screenshot.JPG
Views:	229
Size:	119.6 KB
ID:	3194  
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623

Hi Sonia

You don't need to be a programmer to build simple strategy such as the one you want. Try building it with Strategy Wizard first and from what I see it should suffice your needs at this stage.

I recommend you visit NinjaTrader Video Library first:
https://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?VideoLibrary

Those videos which will help you create your crossover strategy are:
Strategy Wizard, and
Condition Builder (this actually instructs you how to create crossover strategy - simply instead of SMA use HMA!)

Good luck and believe me - it's not so hard after all!

Reply With Quote
Thanked by:
  #3 (permalink)
 soumi71 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: CL , 6E
Posts: 199 since Jun 2009
Thanks Given: 760
Thanks Received: 275


Thanks Greg , I appreciate your taking the time and replying , if I do it I will upload it for you all to try it

Started this thread Reply With Quote
  #4 (permalink)
 soumi71 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: CL , 6E
Posts: 199 since Jun 2009
Thanks Given: 760
Thanks Received: 275

Hi
I tried the wizard , and followed step by step the instructions but , it failed into compling it
Any help out there ?
thanks
sonia

Started this thread Reply With Quote
  #5 (permalink)
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623

Did you tinker with code of any other strategy or indicator?
It could be that NT won't allow you to compile new code until compiling problems with all indicators and strategies are resolved.

If you made any changes to other strategies please remove those changes or delete strategies that don't work completely before compiling the new one

Reply With Quote
Thanked by:
  #6 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404

Sonia,

try opening the SampleMACrossOver

tools/edit ninjascript/strategy

when it opens,

save as SampleHMACrossOver

change all the locations of "SMA" to "HMA"

i count 8 of them

then save and compile

let us know if it doesn't work

if it doesn't, copy your .cs file to your post

hope that helps
kirk

Reply With Quote
Thanked by:
  #7 (permalink)
 soumi71 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: CL , 6E
Posts: 199 since Jun 2009
Thanks Given: 760
Thanks Received: 275

I will try it thanks Greg !

Started this thread Reply With Quote
  #8 (permalink)
 soumi71 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: CL , 6E
Posts: 199 since Jun 2009
Thanks Given: 760
Thanks Received: 275

Hi Zeller
I have tried it , but still giving me a compiling error ,I don't know why ?
have attached the CS file , thank you for your time everyone ! I

Attached Files
Elite Membership required to download: sampleHmaCrossover.cs
Started this thread Reply With Quote
  #9 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404

soumi,

it compiles on my end
maybe need to fix other compile errors per greg's post

or post a screenshot of the offending file(s) error message

Kirk

Reply With Quote
Thanked by:
  #10 (permalink)
 soumi71 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: CL , 6E
Posts: 199 since Jun 2009
Thanks Given: 760
Thanks Received: 275


Hi KIRK
I was unable to delete the strateegies that I have created , it gives me a warning message ,(it's actually attached to the message ) and when I go under tool>edit strategy ? delete it givesme asecond error message , I tried to repair the DB but did not work .thanks for helping

Attached Thumbnails
Click image for larger version

Name:	compiler-error.JPG
Views:	162
Size:	27.5 KB
ID:	3209   Click image for larger version

Name:	error3.JPG
Views:	163
Size:	24.3 KB
ID:	3210  
Started this thread Reply With Quote




Last Updated on January 4, 2010


© 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