how to make program store price value after crossover and then use to place a limit - MultiCharts | futures io social day trading
futures io futures trading


how to make program store price value after crossover and then use to place a limit
Updated: Views / Replies:599 / 3
Created: by honoluluhustler Attachments:0

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 90,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 donít 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
 

how to make program store price value after crossover and then use to place a limit

  #1 (permalink)
Trading Apprentice
Honolulu + Hawaii / USA
 
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: Gold
 
Posts: 18 since Jul 2014
Thanks: 16 given, 1 received

how to make program store price value after crossover and then use to place a limit

How do i find out at what exact point the crossovers occurs and then save them to a variable to be used to enter a limit order?

if volume > VOVO
and
ROC1[1] crosses above ROC2[1]
and
ExpAv1[1] crosses above ExpAv2[1]
and
VOVOROC1[1] crosses above VOVOROC2[1] then
begin
buy ( "buy") Cts contracts next bar at market ;
marketposition = true;

Reply With Quote
 
  #2 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,527 since Apr 2013
Thanks: 229 given, 854 received
Forum Reputation: Legendary

honoluluhustler,

the exact point in my opinion would be the tick that causes the cross. However in your code example you are looking for crosses of two indicators with different settings (like the ExpAv1 and ExpAv2). So the price should be Close[1] I suppose.

Regards,
ABCTG



honoluluhustler View Post
How do i find out at what exact point the crossovers occurs and then save them to a variable to be used to enter a limit order?

if volume > VOVO
and
ROC1[1] crosses above ROC2[1]
and
ExpAv1[1] crosses above ExpAv2[1]
and
VOVOROC1[1] crosses above VOVOROC2[1]
then
begin
buy ( "buy") Cts contracts next bar at market ;
marketposition = true;


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #3 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,527 since Apr 2013
Thanks: 229 given, 854 received
Forum Reputation: Legendary


rleplae,

I am afraid, but this will only work in Ninjatrader and not in Multicharts or Tradestation, which is what honoluluhustler is using.

Regards,
ABCTG


rleplae View Post
hi

as you are talking about orders, i am assuming you are talking about
a strategy and not an indicator...

it depends where you will put this code
for example if you put this code in the method
OnBarUpdate ()
{
}

that will be called when a new bar is drawn (if you activate the strategy with 'on bar close')
you can then refer to the last element [0], otherwise you are running a bar behind

you can take a look at my thread, were i am taking the audience into a journey
of building a BOT to implement the ATM method

it does not generate orders (will do that later
but it outputs to the output window in NT

regards,
ron


Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
  #4 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,487 since Sep 2013
Thanks: 1,702 given, 3,690 received
Forum Reputation: Legendary

sorry


ABCTG View Post
rleplae,

I am afraid, but this will only work in Ninjatrader and not in Multicharts or Tradestation, which is what honoluluhustler is using.

Regards,
ABCTG

absolutely right,
i noticed the platform mismatch and already deleted my answer
sorry for trying to help too fast

Reply With Quote
The following 2 users say Thank You to rleplae for this post:

Reply



futures io > > > > how to make program store price value after crossover and then use to place a limit

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
place multiple stoploss/limit orders based on entry price bermondsey EasyLanguage Programming 2 October 14th, 2013 05:09 PM
can i place limit order, target price, & protective stop simultaneously shots fired ThinkOrSwim 4 June 22nd, 2013 04:31 AM
Is the best way to place a buy limit order by using DOM shots fired ThinkOrSwim 13 April 26th, 2013 06:31 PM
Looking for Software to store Price data in MySQL caliph Matlab, R project and Python 4 January 7th, 2013 03:11 PM
How can I store the first order limit price as a variable to use for calculating... richw NinjaTrader Programming 2 February 22nd, 2011 03:58 PM


All times are GMT -4. The time now is 11:50 PM.

Copyright © 2017 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
Page generated 2017-12-12 in 0.08 seconds with 19 queries on phoenix via your IP 54.234.255.29