• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
Hello my dear friend
when I use this first ea on fbs demo account and make traliling stop true it gives an error as below.
and don't open any trade. why ?

2018.03.29 10:30:51.985 SoeHoe.ID_No Sleep EA EURUSDe,M5: 0.05Error: 0
 
[QUOTE = "oshaban, post: 198357, miembro: 6247"] Sí. No Sleep EA v3.2 ya funciona en una dirección cada vez en cada par. [/ QUOTE]
And if that pair or two are put in a strong trend against the trade that the EA does?
The DD will increase a lot, right? Or do you put it in opposite pairs?
Can you tell in what pairs you have put that version in real? And that you have not produced a DD greater than 20%?
 
Dear Oshaban,
is it possible to add max spread option for this ea ?
or do you know any ea to prevent open any trade while high spread ?

and do you know any way to calculate profit of each pair while the a work on a lot of pair charts ?
 
I just installed Nou slip on the chart. I have a question:
Trading time is set from 2 to 16. But different brokers have different times. How to adjust the trading time of the robot?
 
Dear Oshaban,
I'm new to EA's. But I've been reading all the posts from your EA the last two days. I am very excited about the professionalism of the writers. This is very rare.
I have already dealt intensively with the setup types and would like to start after Easter with the demo.
Thank you for making this EA available for free.

Best regards,
Stephan
 
Hello marco...
In fact, spread control will not benifit much because once order is opened you need to work till close all orders
On profit .

You need to use iExplore indicator on separate chart to know each pair profit or loss and also total lots in each
direction for each pair.
My friend , I checked for this indicator but not find anything on web.
can you share here pls ?
 
hello sir i would like to thank you for the best ea you can see but :



can you add this to the



Grid averager pro v2



and thanks for ever thing you do








how about to add restriction to the buy order :
1-if trend is up in the 1H is up use buy in 1M , if 4H is up use buy in 5M and so on


and the restriction to sell if the trend is sell:

1- if trend is down in the 1H chart use sell in 1M and so on





and this is the code for the trend indicator :





-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------





//+------------------------------------------------------------------+
//| SuperTrend.mq4 |
//| SuperTrend | Copyright © 2017 |
//| http://fxprosystems.com |
//+------------------------------------------------------------------+
[HASHTAG]#property[/HASHTAG] copyright "SuperTrend | Copyright © 2017"
[HASHTAG]#property[/HASHTAG] link "http://fxprosystems.com"
[HASHTAG]#property[/HASHTAG] indicator_chart_window
[HASHTAG]#property[/HASHTAG] indicator_buffers 4
[HASHTAG]#property[/HASHTAG] indicator_color1 DodgerBlue
[HASHTAG]#property[/HASHTAG] indicator_color2 Red
[HASHTAG]#property[/HASHTAG] indicator_width1 3
[HASHTAG]#property[/HASHTAG] indicator_width2 3
double TrendUp[];
double TrendDown[];
int st = 0;
//extern int SlowerEMA = 6;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 5);
SetIndexBuffer(0, TrendUp);
SetIndexStyle(1, DRAW_LINE, STYLE_SOLID, 5);
SetIndexBuffer(1, TrendDown);

/*SetIndexStyle(0, DRAW_ARROW, EMPTY);
SetIndexArrow(0, 159);
SetIndexBuffer(0, TrendUp);
SetIndexStyle(1, DRAW_ARROW, EMPTY);
SetIndexArrow(1, 159);
SetIndexBuffer(1, TrendDown);*/

/*for(int i = 0; i < Bars; i++) {
TrendUp = NULL;
TrendDown = NULL;
}*/
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
/*for(int i = 0; i < Bars; i++) {
TrendUp = NULL;
TrendDown = NULL;
}*/
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{

int limit, i, counter;
double Range, AvgRange, cciTrendNow, cciTrendPrevious, var;
int counted_bars = IndicatorCounted();
//---- check for possible errors
if(counted_bars < 0) return(-1);
//---- last counted bar will be recounted
if(counted_bars > 0) counted_bars--;
limit=Bars-counted_bars;

for(i = limit; i >= 0; i--) {
cciTrendNow = iCCI(NULL, 0, 50, PRICE_TYPICAL, i);
cciTrendPrevious = iCCI(NULL, 0, 50, PRICE_TYPICAL, i+1);

//st = st * 100;


counter = i;
Range = 0;
AvgRange = 0;
for (counter = i; counter >= i-9; counter--) {
AvgRange = AvgRange + MathAbs(High[counter]-Low[counter]);
}
Range = AvgRange/10;
if (cciTrendNow >= st && cciTrendPrevious < st) {
TrendUp[i+1] = TrendDown[i+1];
}

if (cciTrendNow <= st && cciTrendPrevious > st) {
TrendDown[i+1] = TrendUp[i+1];
}

if (cciTrendNow >= st) {
TrendUp = Low - iATR(NULL, 0, 5, i);
if (TrendUp < TrendUp[i+1]) {
TrendUp = TrendUp[i+1];
}
}
else if (cciTrendNow <= st) {
TrendDown = High + iATR(NULL, 0, 5, i);
if (TrendDown > TrendDown[i+1]) {
TrendDown = TrendDown[i+1];
}
}
}

//----

//----
return(0);
}
//+------------------------------------------------------------------+





-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
hai oshaban
me again... i tested ur Grid averager pro v2 in my real 2nd acc
it so wonderful... profit everday...
thank you for ea's
please post your new ea that you develop.
i will gladly test it for you.
 
Hi oshaban i just test your grid AVG pro. I set pips step 10 but the order open 30 pips and the second about 40. Why? Should be every 10 pips.
Can you give the explanation about each type of MM type?
 
Hi oshaban i just test your grid AVG pro. I set pips step 10 but the order open 30 pips and the second about 40. Why? Should be every 10 pips.
Can you give the explanation about each type of MM type?

Hello Joker, if you want exact 10 Pips step you have to set „use bar open price“ to false... so the Ea calculate each Tick.... else he open next step after open a new Bar...
 
Please look to the image ...
capture111-png.36836

The 2 options inside the red rectangle are for improving the trading buy having lower DD ...
They are ...
Pip Step Multiplier (PSM)
Start PSM After Trades

Please go back to the post where I did post v3.2 ... You can find it in the bottom of my first post (the Updates) ...

Now, you should read about them ... Is is clear that 1) logically, 2) theoretically and 3)mathematically it will reduce
the DD.

But always remember that, Lowe DD leads to Lower profit too.

When we said that v3.2 is making less DD than v3 ... This is true always when you compare both EAs on same account
specifications and same starting time on same pair/pairs using same settings. This is too important to consider :)
Hello, first thanks for your wonderful effort to create such wonderful software(EA). I'm wondering can the Broker see the EA comment or magic Number in a Live account? And how does the TIME FILTER, TRADING START/END HOUR works? Thank you
 
the bad habit on this forum is upload not working code to post ... in attachment the working code ... i corected it ...


hello sir i would like to thank you for the best ea you can see but :



can you add this to the



Grid averager pro v2



and thanks for ever thing you do








how about to add restriction to the buy order :
1-if trend is up in the 1H is up use buy in 1M , if 4H is up use buy in 5M and so on


and the restriction to sell if the trend is sell:

1- if trend is down in the 1H chart use sell in 1M and so on





and this is the code for the trend indicator :





-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------





//+------------------------------------------------------------------+
//| SuperTrend.mq4 |
//| SuperTrend | Copyright © 2017 |
//| http://fxprosystems.com |
//+------------------------------------------------------------------+
[HASHTAG]#property[/HASHTAG] copyright "SuperTrend | Copyright © 2017"
[HASHTAG]#property[/HASHTAG] link "http://fxprosystems.com"
[HASHTAG]#property[/HASHTAG] indicator_chart_window
[HASHTAG]#property[/HASHTAG] indicator_buffers 4
[HASHTAG]#property[/HASHTAG] indicator_color1 DodgerBlue
[HASHTAG]#property[/HASHTAG] indicator_color2 Red
[HASHTAG]#property[/HASHTAG] indicator_width1 3
[HASHTAG]#property[/HASHTAG] indicator_width2 3
double TrendUp[];
double TrendDown[];
int st = 0;
//extern int SlowerEMA = 6;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 5);
SetIndexBuffer(0, TrendUp);
SetIndexStyle(1, DRAW_LINE, STYLE_SOLID, 5);
SetIndexBuffer(1, TrendDown);

/*SetIndexStyle(0, DRAW_ARROW, EMPTY);
SetIndexArrow(0, 159);
SetIndexBuffer(0, TrendUp);
SetIndexStyle(1, DRAW_ARROW, EMPTY);
SetIndexArrow(1, 159);
SetIndexBuffer(1, TrendDown);*/

/*for(int i = 0; i < Bars; i++) {
TrendUp = NULL;
TrendDown = NULL;
}*/
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
/*for(int i = 0; i < Bars; i++) {
TrendUp = NULL;
TrendDown = NULL;
}*/
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{

int limit, i, counter;
double Range, AvgRange, cciTrendNow, cciTrendPrevious, var;
int counted_bars = IndicatorCounted();
//---- check for possible errors
if(counted_bars < 0) return(-1);
//---- last counted bar will be recounted
if(counted_bars > 0) counted_bars--;
limit=Bars-counted_bars;

for(i = limit; i >= 0; i--) {
cciTrendNow = iCCI(NULL, 0, 50, PRICE_TYPICAL, i);
cciTrendPrevious = iCCI(NULL, 0, 50, PRICE_TYPICAL, i+1);

//st = st * 100;


counter = i;
Range = 0;
AvgRange = 0;
for (counter = i; counter >= i-9; counter--) {
AvgRange = AvgRange + MathAbs(High[counter]-Low[counter]);
}
Range = AvgRange/10;
if (cciTrendNow >= st && cciTrendPrevious < st) {
TrendUp[i+1] = TrendDown[i+1];
}

if (cciTrendNow <= st && cciTrendPrevious > st) {
TrendDown[i+1] = TrendUp[i+1];
}

if (cciTrendNow >= st) {
TrendUp = Low - iATR(NULL, 0, 5, i);
if (TrendUp < TrendUp[i+1]) {
TrendUp = TrendUp[i+1];
}
}
else if (cciTrendNow <= st) {
TrendDown = High + iATR(NULL, 0, 5, i);
if (TrendDown > TrendDown[i+1]) {
TrendDown = TrendDown[i+1];
}
}
}

//----

//----
return(0);
}
//+------------------------------------------------------------------+





-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 

Attachments

the bad habit on this forum is upload not working code to post ... in attachment the working code ... i corected it ...
upload_2018-4-7_16-33-50.png

version updated ... u can choose TF and indi periods for calculating ...
 

Attachments

  • upload_2018-4-7_16-33-50.png
    upload_2018-4-7_16-33-50.png
    85.5 KB · Views: 1,030
  • SuperTrend2018.ex4
    SuperTrend2018.ex4
    13.7 KB · Views: 169
Back
Top