HelloI have a function in my EA whihc has operate correctly for some time, until recently. When the function detects a very specific candle shape it returns a vale higher than 0.So here is the function call:if(Reversal(-1)>0){Alert"candle pattern...
HiI was wondering is it possible to display the rsi of the current candle plus the current spread.So basically I can see what the rsi value would be after the price as moved the value of the spread.ThanksAntony
HelloBasically I have this code: iOpen(Symbol(),PERIOD_MN1,1);Which is used in my EA running on a 5 minute chart.Will I need approx 2 months worth of bars present on the 5 Minute chart, or just approx 2 months worth of bars on the Monthly chart...
Hi
I run an EA and indicator on several charts at once, since the update my mt4 platform seems to crash several times per day.
After checking the log files it shows the EA and indicator has being uninstalled and then reactivated, this seems...
Hi
After upgrading to 600 build I am experiencing issues with my function that otherwise work perfectly.
It returns a 1004 code and records in the log: "Error when calling InternetOpenUrlA()"
Here is the code, can anyone please...
Hi
I have been experimenting with some code to obtain some variables from a filename.
Here is an example: 60_EURUSDFXF_12345678.sell
So with an EA I would like to extract the info to be used:
int time ="", period="";
string sym = "", ext...
Hello
I am trying to program a function that returns the DayOfWeek() at the begining of the trading month, so if the trading month began on a monday then it will return 1.
Can DayOfWeek() be used for historical dates?
For example:...
Hello I haven an EA that runs 24 hours a day and takes into account the 3 main timezone session.Here is what I usE to identify the current time zone and so it is then used to find the start bar of the session...
I have been running the same EA for 2 years. Once or twice in that time it has traded when all conditions were not met.The latest was when Close[2] was lower than respective bollinger band level, when the condition statement ask for it to...
HiI seem to be running into this backtesting issue time and time again, and was wondering if there is anything I can do, or perhaps is there anything I am doing wrong.Basicall when calling this code on the tester its returns I value of...
Hello I have this code that i have been working, it find and opend the file(s) fine but I cant seem to extract the correct data, it is for pivot point data:bool pivot(){
bool...
Hi
I am trying to work out how my EA can identify if the current Symbol() has "FXF" in the title, for example "EURUSDFXF"
This is what I have tried using and its all I can think of using:
if(Symbol()==...
Hi
To search via time or bar numbers I use this for example:
for(i=2;i<3;i++){
I am trying the use the same type of code against price, to search for the nearest pivot line to the current price but I cant seem to get it to work, here...
Hello
I have an EA that much of it I learnt to code myself, but for one part I had to get a coder to write as it was a little out of my depth here is the code below, it dowloads pivots from my webserver that are provided by my broker...
Hi
I have been trying to figure if this can be done.
For example if the current candle close[0] had and RSI value of say 39.000, is it possible to work out how much the RSI value would be if the close[0] fell by 10pips?
I have tried...
Hi
I am using this code that time "t" and then works forward to the current candle plus 3
int bar = iBarShift(Symbol(),Period(),t,false);
if(prewBar==0){prewBar = bar;}
...
Hi
I am using ibarshift to identify the daily start time of a session for my EA:
double dHi = nd(iHigh(Symbol(),Period(),iHighest(Symbol(),Period(),MODE_HIGH,iBarShift(Symbol(),Period(),dst...
Hi
I have an EA but my broker has decided that now the EA's cannot create an order with stops simultaniously, you must enter then market, then modify the order with the correct stops.
Here is some of my code, you can see I have added the...
Hi
I have this code as part of a function in my EA, basically it looks for breakouts of the upper and lower bands from the start time (bar) thats is specified earlier in the in the EA, up to the current bar plus 3.
By defualt the fucntion...