Engulfing Strategy

Strategies are published here.

Moderator: admin

Re: Engulfing Strategy

Postby Apprentice » Mon Mar 22, 2021 4:14 am

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

Re: Engulfing Strategy

Postby Apprentice » Tue Mar 23, 2021 1:30 pm

It already has a high/low option.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Engulfing Strategy

Postby foreveryoung » Wed Mar 24, 2021 10:01 am

Tried it, i do not understand the logic behind it (i.e. what low/high strategy considers), and it definitely does not place a stop loss at the high/low of the engulfing candle
foreveryoung
 
Posts: 45
Joined: Wed Jan 25, 2017 6:25 am

Re: Engulfing Strategy

Postby foreveryoung » Wed Mar 24, 2021 11:55 am

I understand that the idea with high/low is to check backwards the number of candlesticks set in the stop loss label, and pick the lowest value for long and highest value for short, however, it does not work like this. I set value in stop loss label at 3 (i.e. check previous 3 candlesticks?) and strategy placed the stop loss for a short position at the high of the 11th candlestick (including the signaling candlestick in the count), which was not the highest value either (the highest value was the second one counting backwards).
foreveryoung
 
Posts: 45
Joined: Wed Jan 25, 2017 6:25 am

Re: Engulfing Strategy

Postby foreveryoung » Sat Sep 18, 2021 9:58 am

Dear Apprentice

Please add a second moving average as filter, where engulfing must be taking place above both moving averages for opening long, vice versa for short.

Thank you
foreveryoung
 
Posts: 45
Joined: Wed Jan 25, 2017 6:25 am

Re: Engulfing Strategy

Postby Apprentice » Sun Sep 19, 2021 5:02 am

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

Re: Engulfing Strategy

Postby Apprentice » Wed Sep 22, 2021 3:49 am

Engulfing_with_BB_Strategy.lua
(141.75 KiB) Downloaded 234 times

ENGULFING WITH BB.lua
(13.56 KiB) Downloaded 228 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 foreveryoung » Thu Sep 23, 2021 3:53 am

I get an error message no. 129 saying that I should download and install ENGULFING WITH BB.LUA indicator, which, apparently, I have done so.
foreveryoung
 
Posts: 45
Joined: Wed Jan 25, 2017 6:25 am

Re: Engulfing Strategy

Postby Apprentice » Fri Sep 24, 2021 6:40 am

Please re-download the ENGULFING WITH BB.lua
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Engulfing Strategy

Postby foreveryoung » Thu Sep 30, 2021 12:19 pm

it opens no positions no matter what combination i make with the MA filters
foreveryoung
 
Posts: 45
Joined: Wed Jan 25, 2017 6:25 am

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: Bing [Bot] and 21 guests

cron