Help on one day reversal strategy coding. - MultiCharts |
futures io futures trading

Help on one day reversal strategy coding.
Started: by Dallasboy Views / Replies:248 / 1
Last Reply: Attachments:0

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Help on one day reversal strategy coding.

  #1 (permalink)
Trading Apprentice
dallas texas
Futures Experience: Advanced
Platform: NinjaTrader, Ensign, MC
Favorite Futures: ES
Posts: 12 since Jan 2016
Thanks: 6 given, 2 received

Help on one day reversal strategy coding.

Hi all,

I am try to code this simple reversal strategy:

If previous day open < close (an up bar), then sellshort the next bar.
Stop is previous bar's high (the up bar) plus say 25% of range.

	StopLoss ((high[1]-low[1])*.25);
if open < close then
	sellshort next bar at open;


SetStopLoss (StopLoss+(high[1]-open));

It tries to use the values from 2 bar back it seems.

Reply With Quote
  #2 (permalink)
Elite Member
Hamburg Germany
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
Posts: 1,261 since Apr 2013
Thanks: 201 given, 713 received

Dallasboy View Post
It tries to use the values from 2 bar back it seems.


for what does it seem to use the values from two bars back?
The entries seem exactly where you'd expect them i.e. the next bar after a bar that had an open lower then the close.

For the stop amount this might be caused by your code not using intrabar order generation, which means values are updated at the end of the bar only.



Reply With Quote


futures io > > > > Help on one day reversal strategy coding.

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)


Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reversal Day steve2222 Terms (Glossary) 0 April 10th, 2016 09:10 AM
New Strategy Coding Help FatDemon NinjaTrader Programming 49 January 4th, 2013 12:34 AM
ninjatrader reversal break even strategy drunkcolonel NinjaTrader 1 August 2nd, 2012 07:07 PM
Strategy Coding Challenge MWinfrey NinjaTrader Programming 4 January 25th, 2011 05:12 PM
Strategy coding - Would Anyone please take a quick look at........ mdsvtr NinjaTrader Programming 4 November 5th, 2010 05:54 AM

All times are GMT -4. The time now is 09:33 AM.

no new posts
Page generated 2017-03-29 in 0.07 seconds with 19 queries on phoenix via your IP