in addition to my previous question, looking at the charts today I have 2 more questions:
- It seems that the algorithm does not take the spread into account. My algorithm would have failed today if it did calculate the spread width but in the backtesting it writes it as a success. How do I add IG changing spread into the code?
- Are there any system alerts/emails/SMS message that I can send myself during the algorithm? so that I would be notified and take over the position manually (is it possible at all to start automatic and change to manual if something goes wrong)
Thanks again
Alan
The IG Old Platform allows an alert to be sent to the IG phone App when a new position is opened … see attached.
Sorry that attachment should have been, well ermm … as attached! 🙂
The setting is under Notifications as shown
Thanks GraHal,
I also found the solution to teh spread question. I saw that it could be tweaked on the back test options on the right (writing here so others would be able to use it as well)
So my 2 questions from late at nigh are resolved.
The only open question is the TF – how to get the end of day high (and low) without calculating how many bars it is each day
here is a reiteration of the only open question so far on this thread:
Ok, Thanks
So until MTF comes out, how can I ask:
“give me the high (or low) of previous day” on a time frame of 3 min for example.
when I use :
high = highest[480](high)
it will not work on some days as there aren’t 480 bars per day I guess and it will definitely not work after a weekend – so I am getting results that differ from the actual high and low of the day
Day[1]High ??
Somebody correct me if no good, but keeps the momentum up?? 🙂
DHigh(1)
I just tried above in a System of mine and it ran okay so above must be the correct syntax.
Aland let us know how you get on
DHIGH(1) and DLOW(1) should be the correct constants.
You can easily GRAPH them in your strategy and see if that’s correct.
Thanks I just realised that. the names confused me…
Thanks for your help (again)