Page 1 of 4

Engulfing Strategy

PostPosted: Tue Jun 09, 2020 7:30 am
by Apprentice
1.png

2.png

Based on request.
viewtopic.php?f=17&t=69809
Engulfing Strategy.lua
(130.51 KiB) Downloaded 572 times


Engulfing.lua
viewtopic.php?f=17&t=69809

Re: Engulfing Strategy

PostPosted: Wed Jun 10, 2020 2:55 pm
by MC. Trend Trader
Hello,
thank you for Strategy, but please insert PositionCount in this strategy so that we can open several options with different limits and stops.

Best Regards

Re: Engulfing Strategy

PostPosted: Thu Jun 11, 2020 5:28 am
by Apprentice
Your request is added to the development list.
Development reference 1461.

Re: Engulfing Strategy

PostPosted: Fri Jun 12, 2020 3:56 am
by Apprentice
Engulfing Strategy v2.lua
(137.9 KiB) Downloaded 513 times

Try this version.

Re: Engulfing Strategy

PostPosted: Tue Jul 14, 2020 3:03 pm
by fallingangel
Dear Apprentice

Tested this strategy, had set position cap to yes, max no. of open positions to 2, max no. of long positions to 1, max no. of short positions to 1. It never opened any long positions (neither net long, nor hedging), kept receiving following message:

Open order failed: The Quantity must be a positive integer number.

Re: Engulfing Strategy

PostPosted: Wed Jul 15, 2020 10:02 am
by Apprentice
Your request is added to the development list.
Development reference 1697.

Re: Engulfing Strategy

PostPosted: Thu Jul 16, 2020 4:48 am
by Apprentice
I don't have any issues. It's likely you just set an incorrect lot size

Re: Engulfing Strategy

PostPosted: Fri Jul 17, 2020 6:09 am
by fallingangel
Currently testing the 2 MA Strategy, I receive the same message when using the risk % of equity feature (value set at 2). I shall revert with full set of test results for this strategy

Re: Engulfing Strategy

PostPosted: Thu Jul 23, 2020 8:01 am
by terminator2410
Dear Sir

Is it possible to add a second filter to this strategy to open long position only if the engulfed bar has touched the lower Bollinger band, and open short position only if the engulfed bar has touched the upper Bollinger band?

Re: Engulfing Strategy

PostPosted: Mon Jul 27, 2020 4:09 pm
by Apprentice
Your request is added to the development list.
Development reference 1785.