Powered by Jitbit Asp.Net Forum free trial version.
home recent topics recent posts search faq  

MicroTrends NinjaTrader Forum



register | lost password   open id
Messages in this topic - RSS

Home » MicroTrends NinjaTrader Framework » Bitwise Trade Setup and Entry Parameters

MicroTrends NinjaTrader Framework questions and posts
05/12/2010 19:03:03

forum
forum
Administrator
Posts: 387
All of the MicroTrends NinjaTrader Framework Signals indicators and strategies have a common interface of parameters for you to work with.
Trade Setup
Trade Entry
Trade Exit (optional)
See the description of each setup and trade parameter it will tell you whatoptions are.
Some of the indicators have a series of options for setup and entry that canbe mixed together, so be default on a few the setup mode 0 = Off.
These setup and trade entry parameters are known as bitwise flags unless otherwise stated.

Bitwise flags run in a combination like this:
0:0ff, On: 1,2,4,8,16,32,64,128,256.....

To turn each flag/switch on you add them together.
So you can switch on modes 1 and 2 = enter 3 as the Parameter value.
See the description of each setup and trade parameter
If this is a logical and parameter - this means both conditions 1 and 2 have tobe met.
So if they were for a long signal.
So for example in for a system that has 2 parameters for a long setup
1:Long Bull Candle
2:Long Close Above MA
Long Signal= bull candle and closes above an MA
If the parameters were Logical OR
Long Signal = bull candle or any candle that closes above an MA

Green Dots are Setup Buy
Green Triangles Trade Entry Buy
Red Dots are Setup Sell
Red Triangles Dots are Trade Entry Sell
MT Signals Scalper

Setup Mode Flags are bitwise
1 to 64
1,2,4,8,16,32,64
For your purposes: Set the Setup Mode Parameter to 1
1=Close
To test each of the other flags/Modes
enter
1
2
4
8
16
32
64
To test all combinations at the same time = 127
This means all 1 to 64 needs to be true for a signal to fire.
More conditions does not mean better probability.
It is simply an extensible way of writing software that you have 100%control over.
The downside is that a default setting needs to be found and saved.
edited by forum on 01/02/2011
0 permalink

Home » MicroTrends NinjaTrader Framework » Bitwise Trade Setup and Entry Parameters





Powered by AspNetForum 7.0.1.0 © 2006-2011 Jitbit Software