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,899 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: 482
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?
Cheap historycal L1 data for stocks
Stocks and ETFs
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Quantum physics & Trading dynamics
The Elite Circle
 
  #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