Pending order based on current bar

How to create strategies and indicators
Message
Author
themaxx
Posts: 6
Joined: Mon Feb 29, 2016 11:05 am

Pending order based on current bar

#1 Postby themaxx » Tue Oct 18, 2016 2:44 pm

Could anyone please share a pending order script which opens a buy stop 5 pips above the current bar high, with the stoploss 5 pips below the current bar low? Thanks!

Soapp
Posts: 5
Joined: Mon Aug 03, 2015 2:12 pm

Re: Pending order based on current bar

#2 Postby Soapp » Fri Jan 20, 2017 4:51 am

I need this script too. I would like to have a script which opens 2 pending orders on the candle before the actual candle.
Position 1 has 1:1 RR, Position2 has no TP (should be adjustable).
How much would it cost ?

themaxx
Posts: 6
Joined: Mon Feb 29, 2016 11:05 am

Re: Pending order based on current bar

#3 Postby themaxx » Sat Jan 21, 2017 11:06 am

Soapp wrote:I need this script too. I would like to have a script which opens 2 pending orders on the candle before the actual candle.
Position 1 has 1:1 RR, Position2 has no TP (should be adjustable).
How much would it cost ?

I found one here, haven't had a chance to test it yet. If you improve it please share.
viewtopic.php?p=5254#p5254

themaxx
Posts: 6
Joined: Mon Feb 29, 2016 11:05 am

Re: Pending order based on current bar

#4 Postby themaxx » Sun Jul 09, 2017 10:10 am

If anyone wants to program the following for me, please PM me with a quote.

I need 3 scripts:
1. A script that places a long order with the entry at the high of the previous bar, a stop at the low of the previous bar, and a TP that is an adjustable multiple of the risk (eg 1% of account size, TP is 4 times stoploss)
2. The same as 1, except reversed for shorts (short order with the entry at the low of the previous bar, a stop at the high of the previous bar, and a TP that is an adjustable multiple of the risk).
3. A script that does the same as 1 and 2 at once - a long and a short. Not OCO.


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 26 guests