NexusFi: Find Your Edge


Home Menu

 





trying to create a Trend Line Rejection Indicator


Discussion in NinjaTrader

Updated
    1. trending_up 4,545 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 5 posts
    2. attach_file 3 attachments




 
Search this Thread

trying to create a Trend Line Rejection Indicator

  #1 (permalink)
Eric
UK, Dorset
 
Posts: 4 since Jul 2009
Thanks Given: 0
Thanks Received: 2

Hello
I am trying to create a Trend Line Rejection Indicator.

The idea is as the price trends at times the price comes to the BigTrend line and then is rejected from it.

This would be the ideal time to enter a trade in the direction of the trend.

I have obtained the code for a BigTrend indicator and now I am attempting to add a signal line to follow the price. Which for some reason is not being displayed.

The code I am using works on another indicator I developed but does not want to plot on the BigTrend Indicator.

Can some one help me?

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #2 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

hi eric,

how about some pictures/charts to show exactly what you mean ? - dont really get it yet.
Thanks!

max-td
Reply With Quote
  #3 (permalink)
Eric
UK, Dorset
 
Posts: 4 since Jul 2009
Thanks Given: 0
Thanks Received: 2


max-td
Please find attached a jpg of the big trend indicator showing the entries.
Eric

Attached Thumbnails
Click image for larger version

Name:	TLineRejection Indicator.jpg
Views:	390
Size:	89.7 KB
ID:	3771  
Reply With Quote
  #4 (permalink)
Eric
UK, Dorset
 
Posts: 4 since Jul 2009
Thanks Given: 0
Thanks Received: 2

max-td
Please find attached the TlineRejection indicator I am working on.

What I would like to carry out is a comparison with the addtional line I am trying to add and the BigTrend line.

Currently I have the basic trade indicator arrow working but would like to reduce the number of signals produce via a comparison with the additional line.
Eric

Attached Files
Elite Membership required to download: TLineRejection.zip
Reply With Quote
  #5 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

ok eric - great - i have a look at it !

max-td
Reply With Quote
  #6 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

Hi eric, a first try now :

i think you mean you want to reduce the printed arrows when you talk about "reduce the number of signals "

in the picture you have my ideas to this :

you can make a condition to check if the 2. line is also falling

AND / OR

you can check if the Bars are going in your direction (pos / neg Bars)

Therefor you have to look at bar 1 if this had the right difference to your BigTrendLine - because the falling-condition is true 1 Bar later.
So also your arrows are one bar later - but thats normal.
it depends on what you want to create : an early "heads-up"-alert or more a realtime trade-signal






Also basicly i would make it like this :
i would insert the both lines (EMA + VWMA) as normal Indicators in my chart.
then i would mnake a third indicator that only do the arrow-plotting per condition-check.
that makes me free from having to put all the plots AND the condition-stuff in one indicator (this causes my errors mostly)

i hope you understand what i mean - i am not the biggest in explaining things

OK - let me know how the story goes on!

max-td
Reply With Quote




Last Updated on October 27, 2009


© 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