Buy/Sell on next Bar

How to create strategies and indicators
Message
Author
readyyy
Posts: 14
Joined: Sun Sep 04, 2011 6:36 am

Buy/Sell on next Bar

#1 Postby readyyy » Thu Aug 30, 2012 8:42 am

Hi

Using Tradestation or MT4 there is the possibility to Buy or Sell on Next Bar.

For example in Easy Language it's "buy next bar at Open"

I find this quite important, but don't know how to implement this in forextester using C++. Could you give me a C++ example on how to do an Action on next bar? Thanks

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Thu Aug 30, 2012 11:35 am

Hello,

Do you mean placing trades when the new bar appear?

you can try placing trades when 4 measures of the current bar are equal (open=high=low=close) this will probably show that this is a new bar.
Check our other product here:
http://www.forexcopier.com


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 10 guests