NexusFi: Find Your Edge


Home Menu

 





How to create Market order for Bollinger Band SE and LE


Discussion in MultiCharts

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




 
Search this Thread
  #11 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

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 X Reply With Quote

Can you help answer these questions
from other members on NexusFi?
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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


© 2026 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 - Downloads - Top
no new posts