Engulfing Strategy

Strategies are published here.

Moderator: admin


Re: Engulfing Strategy

Postby MC. Trend Trader » Wed Jun 10, 2020 2:55 pm

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
MC. Trend Trader
FXCodeBase: Initiate
 
Posts: 107
Joined: Sun Jul 05, 2015 12:36 am

Re: Engulfing Strategy

Postby Apprentice » Thu Jun 11, 2020 5:28 am

Your request is added to the development list.
Development reference 1461.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Engulfing Strategy

Postby Apprentice » Fri Jun 12, 2020 3:56 am

Engulfing Strategy v2.lua
(137.9 KiB) Downloaded 513 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Engulfing Strategy

Postby fallingangel » Tue Jul 14, 2020 3:03 pm

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.
fallingangel
 
Posts: 15
Joined: Thu Jul 09, 2020 3:07 am

Re: Engulfing Strategy

Postby Apprentice » Wed Jul 15, 2020 10:02 am

Your request is added to the development list.
Development reference 1697.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Engulfing Strategy

Postby Apprentice » Thu Jul 16, 2020 4:48 am

I don't have any issues. It's likely you just set an incorrect lot size
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Engulfing Strategy

Postby fallingangel » Fri Jul 17, 2020 6:09 am

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
fallingangel
 
Posts: 15
Joined: Thu Jul 09, 2020 3:07 am

Re: Engulfing Strategy

Postby terminator2410 » Thu Jul 23, 2020 8:01 am

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?
terminator2410
 
Posts: 20
Joined: Mon May 25, 2020 7:13 am

Re: Engulfing Strategy

Postby Apprentice » Mon Jul 27, 2020 4:09 pm

Your request is added to the development list.
Development reference 1785.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 21 guests