|
How do I create a scan to find stocks as soon as they come out of the cloud. i.e. for long the last close was inside cloud and now it closed above. For short the last close was in the cloud and now it closed below.
Thanks
|
|
The above was my trial account - not sure why it is still posting under that - my platinum account is Scats
Thanks
|
|
Thanks Bruce - I signed for the platinum and the code you provided works like a charm.
Now two questions:
1. I need to merge these both conditions for long and short in a single scan i.e
a) O + H + L + C > AVGO5 + AVGH5 + AVGL5 + AVGC5 AND L >= (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 AND L1 < (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4
b) O + H + L + C < AVGO5 + AVGH5 + AVGL5 + AVGC5 AND H <= (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 AND H1 > (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4
2. I need the capability for this condition to only run stocks identified in my watchlist.
Please advise - and yes you guys have a great thing going !
|
|
Hello,
Will it be possible to build the following scan on 1 Hour, Heiken Ashi candles:
If the HA price closes above 5 MA and the bottom of the HA candle is flat (no wick) and the previous candle was not flat (or different color), it qualifies to go long. Similarly if the HA price closes below 5 MA and the top of the HA candle is flat (no wick) and the previous candle was not flat (or different color), it qualifies to go short.
Please let me know ASAP, and also if you have any code to perform this so I can sign up.
Thanks
|