stoicathos said: Does that mean to go long when the 3-day Simple Moving Average is greater than both the 14-day SMA and the 40-day SMA?
What is ADX?
As far as the definition of ADX I will let you look that one up. The code says there should be 3 conditions met...
The current 3 bar Simple Moving Avereage (SMA) >= 14 bar SMA and
The current 3 bar SMA is >= 40 bar SMA and
ADX 14 bar is > 0....
Then you are safer to buy here.... but does not mean to blindly buy without juding other things... Market direction.... etc.....
Stevie B said: Thanks for the information otter. I have been developing/tracking my own long short signals for months now and they have been hit and miss.
If I remember correctly you are a day trader, so how do you think your screen would apply to swing trading?
If I understood your script correctly and I wrote it correctly I am assuming you are feeling pretty bullish right now. When I run it I'm get long: XLF, XLE, XLI, USO, XLU, XLK, XLB, XLP, XLV, KBE, XOP, XLY, XHB, DVY, SMH, IVW
Steve, the answer to your question is that if you are swing trading.... this will avoid most false signals.... but, it will show a safer entry point that will not last as long... In other words... you won't get in on the beginning of a trend... but the middle to tail... It really depends on your candles... 1 minute, 5 minute, etc...
If you're looking at swing trading... you may want to use range candles with a RSI of 7 with bollinger bands of 12/2 with murphymath and use the indicators that I posted above... Murphymath will show you the possible stopping points, retracements, and key areas of concern...
Currently, my browser both ie9 and Mozella are having problems with TK's pages and it won't allow me to post a picture... Also Steve, I am definatly not bullish.. As you see the indicators are setup to go either long or short... I have a program that just combins multiple stocks and tells me that the majority are ready to up or down and I trade the ES 03-12 mini's to day trade a 1/4 (.25) of tick to a tick (1) for a value of $50 per tick.