NexusFi: Find Your Edge


Home Menu

 





How to create Market order for Bollinger Band SE and LE


Discussion in MultiCharts

Updated
    1. trending_up 3,973 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 12 posts
    2. attach_file 0 attachments




 
Search this Thread

How to create Market order for Bollinger Band SE and LE

  #11 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 484
Thanks Received: 1,629

hoang101483,

the original order in your code was a stop order and needed a stop price - this is what you left in the order. As the market order has no stop price, you can remove it and change.
 
Code
m_BBandLE.Send(m_LowerBand.Value);
to
 
Code
m_BBandLE.Send();
Regards,

ABCTG

Follow me on Twitter Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Is there a way to simulate CONTINUOUS CONTRACT?
NinjaTrader
Can I use Ehlers Periodogram as the lookback for another …
NinjaTrader
MC PL editor upgrade
MultiCharts
CosMik Z-TP Trading System
NinjaTrader
Footprint for strategy Builder
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
27 thanks
System Performance Stats Comparison
13 thanks
GFIs1 1 DAX trade per day journal
10 thanks
Favorite High Probability Setup
9 thanks
Spoo-nalysis ES e-mini futures S&P 500
8 thanks
  #12 (permalink)
hoang101483
Oklahoma City USA
 
Posts: 47 since Oct 2016
Thanks Given: 0
Thanks Received: 1


ABCTG View Post
hoang101483,

the original order in your code was a stop order and needed a stop price - this is what you left in the order. As the market order has no stop price, you can remove it and change.
 
Code
m_BBandLE.Send(m_LowerBand.Value);
to
 
Code
m_BBandLE.Send();
Regards,

ABCTG

Thanks ABCTG,

That worked. I was to to exit at market. But another issue arise where if I already have an open position. It simply close at market. It wouldn't enter another order. For example if there a LONG position open, when signal trigger I want to Sell at market, then submit another Sell order. I basically want to reverse at each signal. There is a way around this code?

Reply With Quote
  #13 (permalink)
hoang101483
Oklahoma City USA
 
Posts: 47 since Oct 2016
Thanks Given: 0
Thanks Received: 1


Another issue was that If I already have a SHORT position for example. If the signal give another sell signal, it would add another Sell order.

Basically all I want is Enter/Exit at market without adding another position in the same direction.

Reply With Quote




Last Updated on October 25, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts