JuliefaFX JuliefaFX / Profil
JuliefaFX JuliefaFX
my SIMPLE KEY TRADING METHOD
The 40_RSG Strategy
confirmations is/are very important in making a trade. We have divergences, inversely correlated price action with indicators/oscillators.
see sample chart
The 40_RSG Strategy
confirmations is/are very important in making a trade. We have divergences, inversely correlated price action with indicators/oscillators.
see sample chart
JuliefaFX JuliefaFX
just recently, i tested a strategy that works both buy and sell.
the conditions are if the price close above 5EMA and the trade signal line of traders dynamic index red is above 68 level execute SELL.
the conditions are if the price close above 5EMA and the trade signal line of traders dynamic index red is above 68 level execute SELL.
![](https://c.mql5.com/1/222/TDI_sell_condition_working.png)
JuliefaFX JuliefaFX
floating support and resistance indicator is just one of the few though common.
this is what ive got from FSRI. some called it, 'supertrend'.
for demonstration purposes take profit and stoploss just setted. i attached screenshot of the trigger conditions of buy and sell, regardless of the closed orders.
the condition itself works. phase[i] completed. next phase[] coming up. the image below is for buy as marked. but also you can see the sell order where it is the opposite condition.
this is what ive got from FSRI. some called it, 'supertrend'.
for demonstration purposes take profit and stoploss just setted. i attached screenshot of the trigger conditions of buy and sell, regardless of the closed orders.
the condition itself works. phase[i] completed. next phase[] coming up. the image below is for buy as marked. but also you can see the sell order where it is the opposite condition.
JuliefaFX JuliefaFX
what happens when you added a time session? why theres no more action of the buy and sell orders?
just add up the following codes:
string Dibs = "Dibs";
string DibsStart = "07:00"; // In the Platform's TimeZone
string DibsEnds = "21:00"; // In the Platform's TimeZone
string curTime;
bool TradingIsAllowed=false;
datetime time;
void OnTick()
{
time=TimeCurrent();
curTime=TimeToString(time,TIME_MINUTES);
}
bool CheckTradingTime() {
if(StringSubstr(curTime,0,5)==DibsStart)
TradingIsAllowed=true;
if(StringSubstr(curTime,0,5)==DibsEnds)
TradingIsAllowed=false;
return TradingIsAllowed;
}
why my never engulfs???
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] );
just add up the following codes:
string Dibs = "Dibs";
string DibsStart = "07:00"; // In the Platform's TimeZone
string DibsEnds = "21:00"; // In the Platform's TimeZone
string curTime;
bool TradingIsAllowed=false;
datetime time;
void OnTick()
{
time=TimeCurrent();
curTime=TimeToString(time,TIME_MINUTES);
}
bool CheckTradingTime() {
if(StringSubstr(curTime,0,5)==DibsStart)
TradingIsAllowed=true;
if(StringSubstr(curTime,0,5)==DibsEnds)
TradingIsAllowed=false;
return TradingIsAllowed;
}
why my never engulfs???
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] );
JuliefaFX JuliefaFX
now i became addicted from the challenged of making ea. some say, it wont work, some not legit, some scam, some have nothing to do with forex. as the crypto grows forex evolved also with crypto. some platforms adopted crypto to be traded in the market. now what we have here is the basic of buy and sell. with the help of ea as our second executioner in the market, we can be so sure of that our time well not be wasted and can leave a happy good living. of course we have to keep an eye with it. we have the more power to think and decide what is right decision to make in the market, as long as you have the basic rules to follow. and not be greedy at the end.
the rules must be applied manually. better than an ea as others said. yes, that is correct. but at least we can be of relax a bit of not doing something, making something, discovering what is possible profitable or not. with the ea, as long as you know the ea and how it works, and you know that its profitable. we can use it for our benefit and for the success we desire in life.
juliefa was challenged to build an ea from scratch. im not a coder but i know i can do it and build one at least for my benefit in forex trading that at the second thought share also to those really in need with two words on board 'to help'.
the rules must be applied manually. better than an ea as others said. yes, that is correct. but at least we can be of relax a bit of not doing something, making something, discovering what is possible profitable or not. with the ea, as long as you know the ea and how it works, and you know that its profitable. we can use it for our benefit and for the success we desire in life.
juliefa was challenged to build an ea from scratch. im not a coder but i know i can do it and build one at least for my benefit in forex trading that at the second thought share also to those really in need with two words on board 'to help'.
: