• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 4:27pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:27pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 60
Attachments: Engulfer
Exit Attachments
Tags: Engulfer
Cancel

Engulfer

  • Last Post
  •  
  • 1 56789 Page 10
  • 1 789 Page 10
  •  
  • Post #181
  • Quote
  • Jan 17, 2016 6:36am Jan 17, 2016 6:36am
  •  priceaction9
  • | Joined Sep 2015 | Status: Member | 219 Posts
thanks
 
 
  • Post #182
  • Quote
  • May 8, 2020 12:09pm May 8, 2020 12:09pm
  •  bcn
  • | Joined May 2020 | Status: Member | 4 Posts
@abokwaik

Hi,

Can you modify it, so the trade opens at the begining of the new bar when the previous candle closes above/under the (n) candles? (Instead of following the momentum) I mean opening the trade not in the current candle but in the next one.

I have been testing your EA in a demo account and actually it's a really good EA but most of the SL comes because open trades in a "fake" engulfing candle.
Attached Image
FX: 4h & Daily / DAX30: 5m
 
 
  • Post #183
  • Quote
  • Oct 8, 2021 5:37pm Oct 8, 2021 5:37pm
  •  Juliefa
  • | Commercial Member | Joined Aug 2021 | 268 Posts
Quoting belka
Disliked
Has anybody tried this EA on D1 TF? I have tried for couple days on 23 pairs and it looks promising. {image}
Ignored
hello belka, it looks promising. you are using Adjust Trail for that?
do you still have the mql source file for this sir?
if you allow me to look at and would love to modify it. thanks.
 
 
  • Post #184
  • Quote
  • Oct 9, 2021 9:54pm Oct 9, 2021 9:54pm
  •  Juliefa
  • | Commercial Member | Joined Aug 2021 | 268 Posts
hello,.. belka still there?

i have crossed another code for engulfing.

is this the right code condition?

//bearish and bullish engulfing pattern
bool C_DownTrend = true;
bool C_UpTrend = true;
bool overlay=true;

double C_Len = 14; // ema depth for bodyAvg
double C_ShadowPercent = 5.0; // size of shadows
double C_ShadowEqualsPercent = 100.0;
double C_DojiBodyPercent = 5.0;
double C_Factor = 2.0; // shows the number of times the shadow dominates the candlestick body

double C_BodyHi = iHigh(Symbol(),Period(),1);
double C_BodyLo = iLow(Symbol(),Period(),1);
double C_Body = C_BodyHi - C_BodyLo;

double C_BodyAvg = PRICE_WEIGHTED;
double C_SmallBody = C_Body < C_BodyAvg;
double C_LongBody = C_Body > C_BodyAvg;
double C_UpShadow = High[0] - C_BodyHi;
double C_DnShadow = C_BodyLo - Low[0];
double C_HasUpShadow = (C_UpShadow > C_ShadowPercent) / 100 * C_Body;
double C_HasDnShadow = (C_DnShadow > C_ShadowPercent) / 100 * C_Body;
double C_WhiteBody = Open[0] < Close[0];
double C_WhiteBody1 = Open[1] < Close[1];
double C_BlackBody = Open[0] > Close[0];
double C_BlackBody1 = Open[0] > Close[0];
double C_Range = High[0]-Low[0];
double C_IsInsideBar = C_BodyHi > C_BodyHi && C_BodyLo < C_BodyLo;
double C_BodyMiddle = C_Body / 2 + C_BodyLo;
double C_ShadowEquals = C_UpShadow == C_DnShadow || C_UpShadow == C_DnShadow;
double C_IsDojiBody = C_Range > 0 && C_Body <= C_Range * C_DojiBodyPercent / 100;
double C_Doji = C_IsDojiBody && C_ShadowEquals;

double C_EngulfingBearish = C_UpTrend && C_BlackBody && C_LongBody && C_WhiteBody1 && C_SmallBody
&& Close[0] <= Open[1] && Open[0] >= Close[1] && ( Close[0] < Open[1] || Open[0] > Close[1] );
//end bearish engulfing pattern
//---
//bullish engulfing pattern
double C_EngulfingBullish = C_DownTrend && C_WhiteBody && C_LongBody && C_BlackBody1 && C_SmallBody
&& Close[0] >= Open[1] && Open[0] <= Close[1] && ( Close[0] > Open[1] || Open[0] < Close[1] );
 
 
  • Post #185
  • Quote
  • Last Post: Oct 10, 2021 6:00am Oct 10, 2021 6:00am
  •  HimmerJimmer
  • | Joined May 2021 | Status: Member | 73 Posts
Not bad. Pretty good and consistent. Running on multiple pairs and tested on tick data shows good results. I'll be forward testing from here
You gotta boop the snoot
Learning to scalp NAS100 Part 2 All Time Return: 0.5%
 
 
  • Trading Systems
  • /
  • Engulfer
  • Reply to Thread
    • 1 56789 Page 10
    • 1 789 Page 10
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023