metastock explorations

Just a quick tip on something that I have found useful recently.

Many of the standard explorations jsut give buy and sell signals for today. That's fine as far as it goes but if you want to watch a stock for a couple of days after the signal occurs then hwo can you do this?

Well, there are several ways:
the alert() function takes a formula as as its first parameter and a number of days as its second.
eg. alert(hangingman(),5) gives a list of hanging man candles that occured in the last week.

Another way is to use the barssince() function. If you code this around a formula then you get a history with each stock showing the last time the formula was true:

eg. barssince(gapup() or gapdown()) tells you when the last gap took place.


AdBlock Detected

We get it, advertisements are annoying!

But it's thanks to our sponsors that access to Trade2Win remains free for all. By viewing our ads you help us pay our bills, so please support the site and disable your AdBlocker.

I've Disabled AdBlock