Page 2 of 2

Re: entry based on bar open strategy

PostPosted: Thu Apr 30, 2015 2:56 am
by Teaandcoffee
Hi,

It is an old topic but I was really wondering if somebody has already coded the strategy as requested below by jgwill.

"when a signal is triggered for a said bar that it does not do generate more signal (alert) until next bar."

I am trying to code it but with my lua code knowledge no successful.

Apprentice, I will be really appreciated if you can find time and add this feature to the strategy.

Re: entry based on bar open strategy

PostPosted: Mon Dec 12, 2016 3:50 pm
by Apprentice
Strategy was revised and updated.

Re: entry based on bar open strategy

PostPosted: Tue Dec 13, 2016 6:14 pm
by Teaandcoffee
Thank you for the update.

Would you also add the features;

-Max Number Of Open Position In Any Direction
-Max Number Of Position In One Direction

It is opening lots of same orders at a time without these features.

Re: entry based on bar open strategy

PostPosted: Wed Apr 26, 2017 8:04 am
by Apprentice
Your request is added to the development list, Under Id Number 3790
If someone is interested to do this task, please contact me.

Re: entry based on bar open strategy

PostPosted: Thu Apr 27, 2017 3:17 am
by Apprentice
-Max Number Of Open Position In Any Direction
-Max Number Of Position In One Direction

Added.

Re: entry based on bar open strategy

PostPosted: Sat Jun 16, 2018 10:45 am
by aladin
Hi,
Is possible add a "create order" to this strategy and not entry directly?
I will use it with reverse option in 4 / 8 hours chart.

Example:

A red Candle Close at price 100
if price go down 15 pips (now price is 85)
create a buy order exactly at 15 pips up (buy order at price 100 or the same price of red candle close)

The same for green candle !

Thank you !

Re: entry based on bar open strategy

PostPosted: Sun Jun 17, 2018 9:27 am
by aladin
Hi,
I read my last message and is not clear.
I add a picture for made easy what I mean.

When 4 Hours candle close create a 2 different "If-Then" orders, one 15 pips up and one 15 pips down the market price.
When price will touch one price (as picture at 115 or 85) automatically:
1) cancel the other "If-then" still waiting for price,
2) create an order (buy or sell) at the price of the candle close (as picture at 100)

As take profit if possible, can be manual or better close position at end of next 4 hours candle (close all positions when candle close)
As stop loss if possible, can be manual or better all the preview candle.

Example as picture:
Candle 4 hours close at price 100
Create 2 different "If-Then", one at 115 and one at 85
If price touch 115 delete the "If-Then" at 85 and create a sell order at 100
or
If price touch 85 delete the "If-Then" at 110 and create a buy order at 100

Now I think it's clear !
Please, let me know if is possible because TS don't have a OCO for the "If-Then" orders

Thanks in advance for any yours answer.

Best Regards