Friday, June 26, 2015

TopStepTrader Combine with Tradestation

TopStepTrader provides no direct connection from Tradestation; one solution is to send Tradestation Strategies signals into NinjaTrader is supported at TopStepTrader    Some notes on how to accomplish that are as follows because any flawed signals in trading can be catastrophic:

Ninja offers two ways of transferring trade signals from Tradestation Strategies into Ninja - using e-mail automation or using Easylanguage, directly from the Tradestation strategy code by installing a Ninja DLL into Tradestation.  The idea is to route the orders generated by Tradestations strategies through Ninja orders platform

The two methods for this sort of orders routing described here- http://www.ninjatrader.com/support/helpGuides/nt7/index.html?tradestation_integration.htm 

In reality the DLL based EasyLanguage method is difficult to properly implement and manage purely via code the various possible states that orders can be in, for instance placing a stop, canceling, revising positions, it can be complex and the Ninja DLL and associated code samples really do not suffice to build something robust enough to pass the TopStep Combine having tried it that way led to catastrophic Combine with improper, unintended trades

The E-Mail automation method is the only reasonable candidate, but with some caveats and tricky gotchas that if not properly handled would once more lead to catastrophic errors and signals mis-matches and crashing a Combine

Sending Tradestation signals into Ninja via e-mail is broadly a two step process - establishing SMTP connectivity, and then turning the Tradestation Strategy Orders display checkbox on for that particular strategy.  It is only when the orders display checkbox is turned on that a Tradestation strategy's signals start flowing into Ninja, and there are some caveats with managing it-

(1) When the signal from a Tradestation strategy order goes into Ninja and pops up in the Ninja orders list views, changing any of those values such as Stops values, or Targets values on the Ninja side manually is a recipe for disaster because then any subsequent cancelations or alterations from the Tradestation signals side will no longer match

(2) If the Tradestation strategy is already in a position when the connection is established, the position is NOT automatically matched on the Ninja side - this can be extremely problematic because a closing signal of an existing Tradestation Strategy position would actually wind up opening a new (unintended) position in the direction of the close.  For example if the Tradestation strategy was Long and sent a signal to Close the Long, that would go over to the Ninja side as a signal to open a Short!   

(3) The best case for error free operation is to establish connectivity only when there are no open positions inside the Tradestation Strategy, this can be difficult for Strategies that are always in some sort of position; in such cases one has to enter into a position inside Ninja so that it matches up with Tradestation strategy positions

Overall one must exercise caution and test it out thoroughly but it can be made to work.

TopStepTrader 50K Combine Success

Often system validation has no real third party but easily exaggerated self-attested performance is posted    The systems, indicators discussed in this blog and offered for subscriptions on futures.greeneleafe.com are distinguished in that these systems were used to pass the TopStepTrader 50K Combine and achieve a Funded trading account   More about TopStepTrader here: www.topsteptrader.com is a place where traders prove themselves to be eventually rewarded with "no-risk to the trader" funding (prop trading of a sort open to the public at large)

The recently concluded successful Combine trading record using these systems and indicators can be viewed here: www.topsteptrader.com/blog/there-is-no-such-thing-as-a-missed-opportunity-because-markets-are-not-going-away  and below screen-capture of the starting and ending balance (3K profit)   No single system was used but rather a combination of them executed in a discretionary way by selectively turning the systems on and off necessitated due to the rather stringent Combine rules.   Of course since trading is a long term game of consistent ability to bounce back from drawdowns the Combine "test" never really stops even though a Funded account has been achieved, one must continue to trade per the rules into the future is the continuing challenge and vindication of these systems discussed in this blog.  


  

Saturday, June 20, 2015

S&P Big Picture: 2008 Crash Review

Everyone's aware of the financial markets crash of 2008 so how did it look under the Chaos four lines (hounds) analysis?     Reviewing that helps shed light on the current picture because in the markets everything repeats all the patterns over and over again in all time-frames sort of like waves on a beach they come on the sand and retreat over and over again.

So below chart, as early as 2007 the chaos white line crosses under the purple and constitutes a sell short signal  Again, to repeat, the need to be short signal delivered a year early AND the signal remained bearish, with white continued being below the purple all the way down, and crossed up over the purple pretty much on the dot in the bottom - in 2009.    The white line subsequently crosses below the purple again in 2010    So let's calculate the profits with this-

If traded per the Chaos four hounds signals, a S&P ES short held (and rolled over each contract period) would garner the following points:

Short 08/01/2007 ES 1340, Cover 03/12/2009 ES 570 =  770 PTS
Long 03/12/2009 ES 570, Sell 06/29/2010 ES 889 =  319 PTS

This is why it makes very good sense to pay close attention to the chaos lines cross overs in higher time-frames trading the rewards are huge, signals extremely early and precise, and while these chaos lines are computed algorithms, they are humanly easy to analyze representations of the market




So is this the holy grail for long term trading?   Not quite because though it would be profitable overall when carefully traded, it can be wrong too but in an instructive way   The problem is sometimes the cross-overs do not signal a true reversal but rather a major correction only.

The cross-over pattern suggests something like the famous Elliot Waves that everyone knows they are on to something important but leaves a bit to the imagination with voodoo wave 1, 2, 3 who knows what wave it is now?   Well perhaps the Elliot theorists are noticing these chaos lines white-purple crosses, consider the period prior to 2008 and looks like 2 fake crossovers - wave 1 and wave 2 in the Elliot Wave theory and then finally end Wave 3 is the real reversal?     Many patterns are evident in these charts not merely the white-purple lines cross over is the tip of the ice-berg really there are other lines drawn there too that reveal market structures along with the chaos levels on the main - top - portion of these images


The present picture as of 06-28-2015 looking like the end of "Wave 3" is imminent implying a S&P decline-








 











  


S&P Big Picture: Critical Time Period

Historical high areas here and the previous Big Picture post advocated trading the chaos four lines (affectionately aka 'chaos hounds'), in particular the white line - purple cross overs, very simply buy the cross-over, and reverse and sell-short the cross under.   There could be losses with the approach because each reversal can cost 20-30 points can start adding up if it "takes too many cross-overs"   But the beauty of it is that when it stops fluctuating, there would be hundreds of points moves

In the previous post the white line had crossed under around SP ES 2075, while now, at the end of the trading week it has crossed back up though not by much (see below the white - 161052 and purple - 160623) with the SP ES at 2097   One can either continue holding the Short a bit more because the white line barely over the purple or gain an early entry Long    A stop and reversal could be taken at something like 2110 the important thing is that the white remain crossed over the purple    Watch for the white crossing back down under the purple by end of Monday June 22, and if that happens there is no need to exit the current short






Monday, June 15, 2015

S&P Big Picture

At long last some significant movement in the four chaos lines indicator on the ES EMINI Daily chart - in particular the white and purple line crosses are very significant.  It crossed over (bullish) and now crossed back down (bearish) would be the latest signal (orange arrows pointing to it).  It would be excellent from here to mirror the cross-overs in trading, and so the current signal would be to go short here at 2073.   The overall picture of all indicators is bearish because the mid-line (1547) is exerting downward pressure, which gives one a great deal of confidence taking the bearish crossovers can be held comfortably   As things stand, the initial target for the short if the downward drift continues would be the 1836/7, one of the thin orange lines.  But again, if the white line crosses back over the purple the position to be reversed immediately (constitutes the stop and reversal signal)







   

Friday, June 5, 2015

Minute Charts CLFlame System burns up Oil!

Finally devoting some time exploring Chaos Algorithms on a range of minute charts and some striking systems have become apparent    One advantage of minute charts from a business "sales" perspective is that one can demonstrate longish performance histories tends to strenghten subscriber resolve in holding and trading the system through any drawdowns, because they have a longish backtest history to analyze and gain confidence from

In the past 1-18 minute charts while profitable were nowhere close to the tick charts performance and much of the research took place on tick charts that yielded striking performance in comparison.   Thus ESThunder, ESLightning, CLFlow, CLFire, in fact all of them are on tick charts

Recently started exploring a larger range of minute charts, especially the higher time-frame, 29 minute and up and was a revelation with numerous profitable systems it became a matter of cherry picking the best with literally thousands of permutations and combinations of profitablity.

These are NOT brute forced hyper optimized curve fitted systems but are rather "naturally" profitable upon application to the chart.   Then it becomes a matter of finding the best profit/stop loss value combinations   Back testing in such a situation is as simple as extending the chart time-frame backwards by a few more years and seeing the results

Out of this process arrives astonishing CLFlame trades on the 123 minute oil as close to a linear hypothetical performance curve as one can imagine charted on all available significant oil volume past history   (Beyond 8 years is too thinly traded with many gaps in the chart)