Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 07:14:37 +0000



[Programming Help] - help with placing limit orders

View Count: 982

[2018-04-13 16:07:53]
User651753 - Posts: 77
I cant get my head around how to place a limit order into the order book to get ready for a trigger

example
Trying to make a simple Bollinger Band trade system - buying the bottom Bollinger Band and selling the top Bollinger Band.

if the current price is =$100
Top BB = $110
bottom BB = $90

how do I make it so every candle, it will place/replace a buy at the bottom BB ($90) and short top bb ($100) leave it until cancel or replaced?



currently been doing when (lastprice) cross (BB top) = trigger short.
I just want to at any time place both buy and sell order that (* boiling bands) away from current price.

another question, how would I get it to place 1 order at$ 90. and another order at $80
would I need to run a 2nd spreadsheet study with those setting
[2018-04-21 03:46:02]
User651753 - Posts: 77
also can you place order from the trade box windows or does it only place market close order once the price has hit

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account