Search This Blog

Tuesday, June 4, 2013

Semiautomatic Strategies for Ninjatrader

Semiautomatic Strategies for NinjaTrader

The semiautomatic setups are useful for those who, even following a known rule setup, prefer to have full control over the selection of signals, and the management of targets and stops.

Using a semiautomatic approach we can fully auto trade a setup with the benefit of choosing which trade setups we want to trade. And once we have a position, we can leave the default target and stop or move them to our desired place.

This is a description of what is possible and what is not :

A Semi Automatic Setup can :
  • Show current trade setup the same way its associated indicator does.
  • Trade all signals the same way the associated strategy does.
  • Place orders on SIM, LIVE, Market Replay and Simulated Feed
  • Trade on Market Replay at Full Speed ( 500 x )
A Semi Automatic Setup can NOT :
  • Show Historical Trades
  • Be used on Strategy Analyzer
  • Be used on Strategy Optimizer
What Is a semiautomatic Setup ?
  • It is a Custom Indicator and a Custom Strategy. Both with same name
  • The Indicator send signals to the Strategy, so the Setup parameters are defined into the Indicator.
  • The Strategy just receives signals from the Indicator, so its only parameters are the trade size, targets and stop.
  • We can change settings on the Indicator without disabling the Strategy
How we use it ?
  • First we add the Indicator to the Chart and set its Input parameter until we verify that entries correspond to our setup
  • Then we add the strategy with correct trade size, default target and stop to same chart. And enable the strategy.
  • As soon the strategy is enabled we get a new tool bar on the chart menu indicating the name of the Setup, and the options to enable Next Long and Next Short Signals.


  • Once the selected signal appears, and its entry order gets a filled, we can manage the position targets and stop moving them with the mouse on another chart with chart trader enabled
  • Orders can also be moved through the Orders Tab

YouTube video.
  • A full description about the use of the Semiautomatic Setups can be found on the following video


Automation of any Indicator
  • With the interface used on these semiautomatic packs, any indicator can be converted to semi automatic with minimum changes.
  • The main strategy core used will be updated with future enhancements that will include more user control through buttons
  • Future upgrades include ;
  • Selection of Trade Size on the toolbar
  • Enabling AutoBreakeven from the toolbar
  • Enabling Trailing Stop from the toolbar
  • Config Trailing Stop from the toolbar
  • More Options selected by user request.
The list of setups currently available at TIS can be found here

Please feel free to post any question or suggestions to this New Program

Regards,
logo Pablo Maglio The Indicator Store 
Facebook Twitter LinkedIn Blogger Elance

Sunday, May 5, 2013

PM_ATR_BarColor Strategy for NinjaTrader


PM_ATR_BarColor Strategy for NinjaTrader

The last changes on the ATR_BarColor Indicator have been defined after testing several automated instances of variations on the logic.
The final result is the PM_ATR_BarColor_v2 which is now ready to the public.
Note : The version 2 refers to the indicator version it is using.

This final release of the PM_ATR_BarColor Strategy has the following features :

  • User defined Target and Stop
  • User defined Time to Start and Time to Stop
  • Auto Exit of Positions at Neutral ( Yellow ) State
  • Money Management Module

The Auto Exit Feature allows to use Big Targets, and the system will get out at first yellow signal, where a possible reversal can happen.

Example Chart with all debug info turned on ;
  • Vertical Lines at Entry signals
  • Markers of the Upper, Lower MutiTrail Lines
  • Text info after each trade ; xxx/yy where xxx is current daily PnL and yy is the consecutive loser count. On this chart we can see the last trades shows a positive $500 daily profit

The Money Management Module allows to stop trading for the remainder of the day if one of the following levels are reached :
  • Max Daily Profit
  • Max Daily Loss
  • Max consecutive losers in Row


This is the daily performance report of last week :

The input parameters that we need to optimize for each instruments are just a few, so it will not take too much time to get a good working configuration :



This is the Performance Report for an example configuration on CL



 You can take a look at the strategy in action on this YouTube video


Please feel free to post any comment or suggestion here...



logo Pablo Maglio The Indicator Store 
Facebook Twitter LinkedIn Blogger Elance

TIS_ATR_BarColor Indicator for NinjaTrader Update


TIS_ATR_BarColor Indicator for NinjaTrader Update

Since the release of the ATR_BarColor Indicator ( see previous post ), I’ve been experimenting changing some parts of the logic and adding different conditions to improve the performance of the signals when trading this indicator as an automated system.

Lets make a review of how this indicator works ;
As we have described before, we are using a well known trailing indicator, known as SuperTrail, SuperTrend, MultiTrail, etc as a complete trading system, with entries, exits and reversals.
On the following example we can see the standard TIS_MultiTrail Indicator showing an up trend ( blue bars ) changing to a down trend ( red bars ) when the lower blue multitrail line is broken. The bear move finishes when the red upper multitrail line is broken.
Used as Trailing stop, we exit the Long position on “A” and exit a Short Position on “B”.
If we want to use this Indicator as Trade Setup, now we need an entry signal. The most obvious entry is the same signal we use as exit ; for example we enter Short closing the Long at “A” and then close the short while entering Long at “B”.
This is a valid setup but it would be always in the market reversing positions, having very good winners while market moves, but the performance on sideways markets would be low, producing lot of reversals with small loses on each.
That was the reason of the creation of the ATR_BarColor Indicator, which adds a Neutral State ( yellow bars ) after each trend change.
After a Neutral State, it is required to break a pivot to produce an entry signal.
The old version of ATR_BarColor used fixed strength pivots of 1 bar length, while this new version ; ATR_BarColor_v2 has user defined pivot strenth.
We can see the effect on changin the pivot strength on the following pictures.

Using a 4 Bar Pivot




Using an 8 Bars Pivot
     

Another change in the logic includes a Fast Move Detection avoiding to wait a pivot creation when the trend change is fast.
This example shows a fast transition from Red to Blue with only 1 yellow Bar :
On this example the first Long signal happens at the close of the first Blue Bar.

The updated version of this indicator for Ninjatrader can be found on this link.

Please feel free to post any question or suggestion here...

logo Pablo Maglio The Indicator Store 
Facebook Twitter LinkedIn Blogger Elance

Saturday, April 13, 2013

PM_EMA_Bouncer Strategy for Ninjatrader Update

EMA Bouncer Strategy for Ninjatrader - Version 2

We have added a New Configuration to the Bouncer Strategy to allow for New Possible Setups.
The classic use was waiting for price to reach an envelope around a moving Average to be Trade Ready.
Then the trade was in direction to the EMA, and the entry was a Stop order placed somewhere between the trigger envelope and the EMA.
On this new version We are including a possible entry at a bigger envelope than the Entry


On this configuration, the entry order must be limit type.
After a Fill, the strategy waits for a reset before taking new entries.
On these example pictures, the green line is the trigger line.
The yellow line is the entry line.
If the market is impulsing, on a free fall or upside move, after having a loss, the strategy will wait for a reset as shown on the following picture :

This configuration can be used together with the classic style of stop entry above the trigger line :

On this example we can see the firs Long was a limit entry at the yellow line, the second long is a buy stop at the entry envelope

A short YouTube video showing both strategies trading together : http://www.youtube.com/watch?v=7n3kw_U5aAc

Please post any question or suggestions,
Regards,
Pablo
logo Pablo Maglio The Indicator Store 
Facebook Twitter LinkedIn Blogger Elance

Thursday, April 4, 2013

SRS Strategy for NinjaTrader Webinar Recording

This is a Ninjatrader Webinar recording about the SRS ( Small Range Setup ) 

YouTube Webinar Recording



logo Pablo Maglio The Indicator Store 
Facebook Twitter LinkedIn Blogger Elance


Tuesday, April 2, 2013

SRS Indicator for Ninjatrader for Trend and Counter Trend Setups

SRS Indicator ( Small Range Setup ) for NinjaTrader

This Setup, and its associated Indicator and Strategy, were designed to Trade in the direction of the trend ;

A Fast Period for the Envelope, a Slow Period for the Moving Average is the classic Setup that shows Red Bars when trending down, with orange diamonds indicating Sell Stop Entries at each small pullback ;



I have used this configuration for years. But just a few weeks ago, after the automation of the Indicator and the release of the SRS Strategy and its use with the Strategy Analyzer allowed us to find New and really Interesting Configurations....

What if we make the Envelope Period slower than the Moving Average ?



Now we get counter trend Signals ! ... 

....but does it work ?

Well, the first thing we do with a strategy is Optimizing its Settings 
And when we set the limits of the periods to scan on the optimizer, there is no option on Ninja to specify something like "scan all envelope periods and all moving average periods while envelope period be higher than moving average"...
No, it will just test all combinations...
But my logic was; it doesnt matters ! the optimizer will just discard those undesired scenarios because of being unprofitable...


But the surprise was that for some particular Instruments like Gold or Crude Oil , the best Configuration are Counter Trend Setups !...

Both current versions of Indicator and Strategy are prepared to trade counter trend setups, but we have to take into account that counter trend entries are really fast. Using the Indicator is useful to identify setups but may be too fast for some people to place and adjust the entry orders.

The last version of the indicator has audio alerts and we can use the alert window where we can see all signals and entry price together ( if we have the SRS indicator loaded on several charts at same time ) :


The Strategy can be used on Trend and Counter Trend Setups, with single position management :

It can be configured to take multiple ( user defines the maximum position size ) entries :


Each entry is individual and has its own user defined stop an target...

And it can also be configured to take multiple entries managing the whole position as a single trade averaging the whole trade into a unique averaged entry with its user defined stop and target :



Hope this post has been useful and let you expand your trading opportunities...
Let me know if you have any question posting here or sending me an email.

Regards,
Pablo

logo Pablo Maglio The Indicator Store 
Facebook Twitter LinkedIn Blogger Elance