NexusFi: Find Your Edge


Home Menu

 





Strategy Help


Discussion in NinjaTrader

Updated
    1. trending_up 694 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 
Bullywig's Avatar
 Bullywig 
Chicago
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: FDAX, NQ, HG, SI, CL
Posts: 68 since Oct 2015
Thanks Given: 42
Thanks Received: 22

I'm just starting out as a beginner to try and create some automated strategies, and this particular one is perplexing me. I used NT8 Strategy Builder to set this up. Originally, I set the strategy up with no RSI condition, and it took longs and shorts just fine. After I added the RSI condition as a filer, it will take longs, but not shorts. Also, it seems to be ignoring the RSI filter condition which is a simple threshold condition to enter a long (>.70) or enter a short (<.30). I looked through the code, but with little experience, I'm not seeing the error. It seems to compile fine. Any help or assistance, or direction to where I can figure this out would be greatly appreciated.

The CS file is attached to this thread.

I'm also attaching a screen shot showing where the longs are entered, but the RSI threshold, represented by the green horizontal line, has not been crossed, but the trades are firing off anyway.

Thanks in advance for any assistance.

Cheers
Bullywig Trader

Attached Thumbnails
Click image for larger version

Name:	premature RSI threshold.JPG
Views:	92
Size:	29.6 KB
ID:	245307  
Attached Files
Elite Membership required to download: DRX2rsif.cs
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC Advanced Simulated Trading.
MultiCharts
How to plot a custom icon for crossover
NinjaTrader
Elite Trader Funding, Avoid?
Funded Trading Evaluation Firms
Quantum physics & Trading dynamics
The Elite Circle
Volumetric charts
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
84 thanks
What is Markets Chat (markets.chat) real-time trading ro …
53 thanks
HumbleTraders next chapter
39 thanks
1 Minute Man
22 thanks
Tao te Trade: way of the WLD
17 thanks




Last Updated on January 5, 2018


© 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 - Sitemap - Downloads - Top
no new posts