You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
All Averages Histogram
Hello Mladen,
Thank you very much for the above. I have one last histogram here, and this shall be it again for a good while!
With much appreciation.
Daniel
...
Daniel
Here you go
Hello Mladen,
Thank you very much for the above. I have one last histogram here, and this shall be it again for a good while!
With much appreciation.
Danieldasio
I am testing it right now as I saw your post and I can not find an error
At my PC it works OK, so I will have to wait for your picture and further explanation since it seems to be working OK on my PCThank you for your disponibility.
Attached there is an image capture from the chart.
I noted that it don't happen always.
Hope you can fix it.
Thank you
...
dasio
Is the ArrowOnlast set to true?
I tested it in somewhat similar conditions, and this is what I get (so it works OK here)
Also, does your broker have Sunday data (the 1 hour or 2 they usually have)? Since that might cause problems on daily data
Thank you for your disponibility.
Attached there is an image capture from the chart.
I noted that it don't happen always.
Hope you can fix it.
Thank youmladen,
I'm trying to set up an if statement to assume GBPUSD 1.5566 plus .0011 = 1.5577
OLD- if (trend > 0 && Close[0] > (Close[1] && Close[1] > upper ) result = mode; //Long
OLD- if (trend < 0 && Close[0] < (Close[1] && Close[1] < lower ) result = -mode; //Short
NEW-if(trend > 0 && (Close[0] > (Close[1]+(.0011*Point*10))) && Close[1] > upper && Close[2] < upper) result = mode;
NEW-if(trend < 0 && (Close[0] < (Close[1]-(.0011*Point*10))) && Close[1] lower) result = -mode;
My goal is to not trigger the if statement until the Close[0] is .0011 pips above/below the Close[1].
It compiles OK but is this the best way to accomplish my goal???? My broker is a 5 digit!
Thank you for your help/MT4-lesson
Ray
...
Ray
As far as I see all you have to do is to remove "Point*10" from multiplication (0.0011*Point*10 would be 0.0011*0.00001*10 in case of GBPUSD and that is not what you want)
mladen,
I'm trying to set up an if statement to assume GBPUSD 1.5566 plus .0011 = 1.5577
OLD- if (trend > 0 && Close[0] > (Close[1] && Close[1] > upper ) result = mode; //Long
OLD- if (trend < 0 && Close[0] < (Close[1] && Close[1] < lower ) result = -mode; //Short
NEW-if(trend > 0 && (Close[0] > (Close[1]+(.0011*Point*10))) && Close[1] > upper && Close[2] < upper) result = mode;
NEW-if(trend < 0 && (Close[0] < (Close[1]-(.0011*Point*10))) && Close[1] lower) result = -mode;
My goal is to not trigger the if statement until the Close[0] is .0011 pips above/below the Close[1].
It compiles OK but is this the best way to accomplish my goal???? My broker is a 5 digit!
Thank you for your help/MT4-lesson
RayStill looking for the script to open separate charts from metatrader. Can't find anywhere...
[
mladen,
Thanks!!
Ray
QUOTE=mladen;448082]Ray
As far as I see all you have to do is to remove "Point*10" from multiplication (0.0011*Point*10 would be 0.0011*0.00001*10 in case of GBPUSD and that is not what you want)
...
airquest
I haven't seen such either
Still looking for the script to open separate charts from metatrader. Can't find anywhere...
...
Ray
To use normal pip distance calculation, maybe the better would be something like this :
....
start()
{
double pipModifier=1; if (Digits==3 || Digits==5) pipModifier = 10;
double distanceToUse = pipDistance*Point*pipModifier;
}
That way it could be more "flexible" for usage