NexusFi: Find Your Edge


Home Menu

 





Help needed to convert my system to Nt7...!


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one forrestang with 41 posts (34 thanks)
    2. looks_two linkon7 with 31 posts (13 thanks)
    3. looks_3 Big Mike with 4 posts (7 thanks)
    4. looks_4 dar17 with 2 posts (1 thanks)
      Best Posters
    1. looks_one Big Mike with 1.8 thanks per post
    2. looks_two forrestang with 0.8 thanks per post
    3. looks_3 dar17 with 0.5 thanks per post
    4. looks_4 linkon7 with 0.4 thanks per post
    1. trending_up 45,582 views
    2. thumb_up 55 thanks given
    3. group 11 followers
    1. forum 77 posts
    2. attach_file 33 attachments




 
Search this Thread

Help needed to convert my system to Nt7...!

  #31 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047


linkon7 View Post
Next challenge is to plot the stoploss on the chart.





linkon7 View Post
we then make the band invisible

We now have accomplished a very important task of our where our stop loss should be.


Attached Thumbnails
Click image for larger version

Name:	Prime2011-09-02_105605.jpg
Views:	534
Size:	108.5 KB
ID:	48197   Click image for larger version

Name:	Prime2011-09-02_105709.jpg
Views:	563
Size:	112.4 KB
ID:	48198  
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #32 (permalink)
linkon7
India
 
Posts: 73 since Sep 2010
Thanks Given: 52
Thanks Received: 60

The most difficult challenge of any trading system is designing the exit. This is where the individuals risk profile comes into the picture.

I personally prefer exiting 50% of my positions at predefined location and then once my balance holding is free of risk, even if stop loss hits, i can breathe easy and even show guts by adding to my positions if i am in deep profit.

To design an exit, I prefer looking at momentum indicators, preferably rsi or CCI or a custom variation of these 2. I believe Momentum always precedes price as divergence will show a maturing trend.

First we have to build our indicator from the scratch. Target is to simulate our method on price chart on a momentum indicator.

We'll start with simple rsi (21). smooth-en it, by taking the Double Exponential Moving Average (period 7) of RSI(21).

R = DEMA(RSI(21),7) ;

plot R
plot the 30 and 70 level

[IMG]http://s1.postimage.org/uqrh1ix3i/image.png[/IMG]
image uploading

Next we plot a signal line by taking the 5 period exponential moving average of R

signal = EMA(R,5)

[IMG]http://s2.postimage.org/ygzvfevke/image.png[/IMG]
gif upload

Now we want dynamic support and resistance on this R

so we take boilinger band of R, period 25, std deviation 2

Resistance = BBandTop ( R , 25 , 2 )
Support = BBandBot ( R , 25 , 2 )

[IMG]http://s4.postimage.org/yir55fvzf/image.png[/IMG]
post image wordpress


Now we shift this resistance and support line 3 bars to the right.

[IMG]http://s4.postimage.org/yirtyi3cr/image.png[/IMG]
adult image hosting

The next part is pure eye candy, but i like my charts to be colorful and vivid. Trading is a boring job, atleast the charts should look colorful.

Now i am going to fill the gap between 30 and support line with dark green

[IMG]http://s3.postimage.org/tzyadojag/image.png[/IMG]
image uploader

and fill the gap between 70 and resistance with dark red

[IMG]http://s3.postimage.org/ftitfobdh/image.png[/IMG]
image uploader

And finally highlight the zone where R has pierced the support / resistance with bright colors.

[IMG]http://s3.postimage.org/56pbv0iqa/image.png[/IMG]
image host


Now we have a indicator that compliments our price chart nicely...

[IMG]http://s2.postimage.org/kapi226ff/last.png[/IMG]
gif upload

Reply With Quote
Thanked by:
  #33 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047


The oscillator is working.

I'm still messing with the plot and getting some colors to fill in. Will post back in a bit.

Attached Thumbnails
Click image for larger version

Name:	step1.jpg
Views:	143
Size:	72.1 KB
ID:	48232   Click image for larger version

Name:	step2.jpg
Views:	252
Size:	159.7 KB
ID:	48233  
Reply With Quote
Thanked by:
  #34 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047

Need your opinion on something.

For when you get the piercing of the R value into the and beyond the Bollinger Support, you want to see the color change shown. Which one of these appearances do you prefer? To light up the entire column, or just the pierce.

I think the slight pierce looks better, but the whole column is more obvious.

Only asking cause I ACCIDENTALLY produced the one with the column and initially couldn't figure out how to reproduce the look you showed in your charts.

Just a note, I figured it out and can do it either way.

Attached Thumbnails
Click image for larger version

Name:	Option1.jpg
Views:	145
Size:	192.3 KB
ID:	48250   Click image for larger version

Name:	Option2 (2).jpg
Views:	241
Size:	245.8 KB
ID:	48254  
Reply With Quote
Thanked by:
  #35 (permalink)
linkon7
India
 
Posts: 73 since Sep 2010
Thanks Given: 52
Thanks Received: 60


forrestang View Post
Need your opinion on something.

For when you get the piercing of the R value into the and beyond the Bollinger Support, you want to see the color change shown. Which one of these appearances do you prefer? To light up the entire column, or just the pierce.

I think the slight pierce looks better, but the whole column is more obvious.

Only asking cause I ACCIDENTALLY produced the one with the column and initially couldn't figure out how to reproduce the look you showed in your charts.

Just a note, I figured it out and can do it either way.

The first image looks perfect....!

so far an excellent job and I really thank you for ur effort....!

Reply With Quote
  #36 (permalink)
linkon7
India
 
Posts: 73 since Sep 2010
Thanks Given: 52
Thanks Received: 60

Next is the direction of trade. I believe that i can afford to be brave if i am trading with the bigger trend. I'll avoid contra trades all together as system will always give opportunity to trade both ways.

If i get a bad trade location, there is a higher probability that my stoploss will be respected if my trade is in the directon of the major trend. Spikes / gaps normally has a tendency to happen in the direction of trend. Even if my stops get hit, i can always re-enter with lesser fear as I know i have the big daddy of trend behind me.

So bottom line... NO CONTRA....!

50 sma (Simple Moving Average ) on 2.5 times the trading time frame will be my principal guide to the trend.

Since i plan to time my entry on 2 min time frame,
50 sma on 5 min tf = 250 sma on 2 min tf

The info generated from 250 SMA will be plotted as text on the price chart and as a small ribbon with colors that tell me the health of the market and what kind of trade management i should employ.

Reply With Quote
  #37 (permalink)
linkon7
India
 
Posts: 73 since Sep 2010
Thanks Given: 52
Thanks Received: 60

I'll be using CCI indicator to gauge the health of the market. The interpretation of CCI indicator is inspired by a very good trader / mentor who goes by the alias of SMART_TRADE in indian trading circle. He once told me that i should wait for the trend to make sound like a pop corn bursting out of the pan before i go in for the kill, hence i named it ST's Pop Corn.

Essentially CCI measures the distance between SMA and the (High + LOW+ CLOSE)/3 of the price bar. It is designed so that 68% of the trading range falls between the 100 to -100 mark.

so we plot CCI with period as 250

[IMG]http://s3.postimage.org/8xa6q76p5/image.png[/IMG]
image host

we plot 100 and -100 mark on the chart...

will continue wt this in the evening....!

Reply With Quote
  #38 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047

Ten Characters....

Attached Thumbnails
Click image for larger version

Name:	Prime2011-09-03_135428.jpg
Views:	154
Size:	237.8 KB
ID:	48311  
Reply With Quote
  #39 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047

Here's a look @ the latest look of the indie. Showing the user interface here with plot options etc.

Also, with the coloring on the main price panel, I am not sure if that is correct? I'm filling in those areas where the accls are inside the bbands, and im not sure if it should fill in the balloon area you didn't want to see earlier?

From your last chart, it looks like you just want to show the areas where the bband is INSIDE the Accl correct?

At any rate, that area can just be set to transparent at all times.

Attached Thumbnails
Click image for larger version

Name:	Prime2011-09-03_152402.jpg
Views:	153
Size:	468.5 KB
ID:	48317   Click image for larger version

Name:	Prime2011-09-03_152424.jpg
Views:	159
Size:	451.3 KB
ID:	48318  
Reply With Quote
Thanked by:
  #40 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047



forrestang View Post

At any rate, that area can just be set to transparent at all times.

BTW.... those arrows, they are only the arrows when the bottom of the worm breaks out of the top Accl, or when the top of the worm breaks out of the bottom Accl. I wasn't sure about the others.

Attached Thumbnails
Click image for larger version

Name:	Prime2011-09-03_153451.jpg
Views:	250
Size:	265.4 KB
ID:	48319  
Reply With Quote
Thanked by:




Last Updated on December 9, 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