RE: UK Stocks - Watchlist and Discussion
Hi Isatrader,
just getting some screeners coded and going through the manual and some online help. It looks like this could be very interesting tool to add to the armour. Got a good few ideas in my mind I want to try out and see if they are possible to code.
With your code you have posted above, so I understand things better, I have some questions..
what is the following line of code doing
c3 = Average[10](Close[0]) > Average[10](Close[1])
The first part is todays close, but what is it doing with the 10 day average. Is it saying if the 10 day average closing price is greater than the 10 day average closing price until yesterday?
When you do a calculation like this, is the fact that you have the previous days close (Close[1]) with Average[10] saying that you want the 10 day average closing price up until yesterday's close? So the 10 day average shifts down a day? (so if we had Average[10](Close[2]) Average[10] would shift down another day?)
With the following line of code...
c4 = Close > 5
What is 5 here, the day of the weekday? (so Friday)
What is the difference between 'Average' and 'AverageTrueRange'?
Condition1 = (Close[0]-Close[1]) / AverageTrueRange[200](close)
Thanks