help with strategy
futures io futures trading


help with strategy
Updated: Views / Replies:1,031 / 6
Created: by niki Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you dont need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

help with strategy

  #1 (permalink)
wokolina
 
Trading Experience: None
Platform: ninjatrader
 
Posts: 4 since Mar 2010
Thanks: 0 given, 1 received

help with strategy

hi, I am not good with coding and what I looking for to figure out is how to develop a strategy where I can put SMA + some range
eg
 
Code
                            
protected override void Initialize()
 { 
  
SetProfitTarget ("", CalculationMode.Ticks4); 
 
SetStopLoss ("", CalculationMode.Ticks2); 
 
CalculateOnBarClose false
 } 
    
SMA(close4)
 if ( 
price_is_above_SMA_5_ticks 
 {  
enterlong;  //only one time, if price pullback (one tick because second is SL) and cross the fifth tick from SMA again, no more opening position 
  
}
 if ( 
price_is_bellow_SMA_5_ticks 
 {  
entershort//only one time  



Last edited by sam028; April 19th, 2010 at 02:45 PM. Reason: add php tag
Reply With Quote

Can you help answer these questions
from other members on futures io?
Scan Prior Week Range above fib levels
ThinkOrSwim Programming
market_cipher5_bg
ThinkOrSwim
Alert for MACD crossover
ThinkOrSwim
coding studies
ThinkOrSwim
GetRTAccountEquity - EasyLanguage, MultiCharts, Daily Ac ...
MultiCharts

Best Threads (Most Thanked)
in the last 7 days on futures io
ES futures Spoo-nalysis SP500/SPX
305 thanks
Recession? Depression? Bailout!
267 thanks
Coronavirus COVID-19
227 thanks
Understanding Footprint Charts / Number bars
83 thanks
Finally Turning the Corner, tha "its 80% Psychology ...
82 thanks
 
  #2 (permalink)
Florida
 
Trading Experience: Intermediate
Platform: NT7
Favorite Futures: CL, NQ, NG
 
Posts: 469 since Jun 2009
Thanks: 1,403 given, 401 received

Hey Niki,

Not exactly sure how to interpret your request...

Two thoughts to help move it along:

1. Post a screenshot with markups to identify what you mean by this:

Quoting 
//only one time, if price pullback (one tick because second is SL) and cross the fifth tick from SMA again, no more opening position

2. Check out the SampleMACrossover strats on the Ninjatrader forum website and see if that could be altered to accomplish what you want.

kz

Reply With Quote
 
  #3 (permalink)
wokolina
 
Trading Experience: None
Platform: ninjatrader
 
Posts: 4 since Mar 2010
Thanks: 0 given, 1 received


it looks like that

Attached Thumbnails
help with strategy-long_short.jpg  
Reply With Quote
 
  #4 (permalink)
Administrator: Retired Backtester
Rennes France
 
Trading Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,614 since Jun 2009
Thanks: 3,759 given, 4,413 received

I'm not sure to understand the question, but if you want to avoid reversing your positions after each opposite signal, the idea is maybe to do something like:
 
Code
                            
 if ( ( price_is_above_SMA_5_ticks ) && (Position.MarketPosition == MarketPosition.Flat) ) {
enterlong ;
}

if ( ( 
price_is_below_SMA_5_ticks ) && (Position.MarketPosition == MarketPosition.Flat) ) {
 
entershort ;


Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #5 (permalink)
Galveston ,TX
 
Trading Experience: Intermediate
Platform: NT7
Broker/Data: Zaner
Favorite Futures: Futures
 
Posts: 386 since Mar 2010
Thanks: 364 given, 433 received

if you're asking for the "formula" to express price_is_above_SMA_5_ticks, try this:
 
Code
if (Close[0] > SMA(Close,4) + 5 * TickSize)
cheers,
-e

Reply With Quote
 
  #6 (permalink)
wokolina
 
Trading Experience: None
Platform: ninjatrader
 
Posts: 4 since Mar 2010
Thanks: 0 given, 1 received


eman View Post
if you're asking for the "formula" to express price_is_above_SMA_5_ticks, try this:
 
Code
if (Close[0] > SMA(Close,4) + 5 * TickSize)
cheers,
-e

yes, that what I'm looking for, I found it on ninja forum but anyway thx.

Reply With Quote

Reply



futures io Trading Community Platforms and Indicators NinjaTrader NinjaTrader Programming > help with strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call ATM Strategy on an automated strategy to control position jsengxx NinjaTrader Programming 7 May 31st, 2016 04:51 PM
Utility To Transpose Optimized Strategy Values From Excel Output to Actual Strategy mercuryfx NinjaTrader 5 April 7th, 2012 03:59 PM
Ninjatrader7 ATM Strategy combine with Strategy Wizard Ninja Script schuster21 NinjaTrader Programming 4 July 4th, 2011 04:39 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 06:24 PM


All times are GMT -4. The time now is 09:01 AM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts