Just looking at a chart, these different zones are obvious, but coding an indicator is a little more tricky.
How are these zones obvious? If you can "see" them, you can code them.
Don't get stuck on the one idea, like using MA etc. You will probably have to combine many different bits of code together to achieve the right results.
Listen very closely to what your eyes and brain are telling you when you look at a chart. Try looking at a chart for five seconds then close your eyes and tell yourself what the chart is doing and how you came to that conclusion. Then code up your ideas, test and refine.
wabbit
hey wysiwyg can you provide link to website and how to use that script i.e what program to use?
Only found the code 19 days ago myself and I`m new to Amibroker too. Perhaps removing some code so only the up trending stock are displayed would work. I don`t know code. I open the up trending chart and make an assessment on my perceived trend longevity, look for patterns, certain candles, liquidity (though not overly important) and if there is promise I peruse the company fundamentals.Wysiwyg,
Nice code, love some of the comments, lol.
How do you apply this code, as it just brings up every stock in the watchlist you are scanning?
Do you filter it someway? Or just quickly scan every stock in a trend?
Only found the code 19 days ago myself and I`m new to Amibroker too. Perhaps removing some code so only the up trending stock are displayed would work. I don`t know code. I open the up the trending chart and make an assessment on my perceived trend longevity, look for patterns, certain candles, liquidity (though not overly important) and if there is promise I peruse the company fundamentals.
Here is what I use as a trend filter. It is FrankD's channels.
Keep in mind these channels are worked out as the last trading day of each time frame is completed and then projected forward before the next trading period begins.
1st chart is monthly channels.
2nd chart is weekly & monthly together.
3rd is monthly zoomed out.
The arrows are not buy or sell signals - only alert signals.
Try using a rising RSI or Stochastic slope on normal range. So you have a long EMA maybe 100 or 200 to get a trend and a short range indicator to narrow the field down again. Here is a basic for exploration mode.Buy when the slope of a moving average is at a % gradient pointing up. Ive tried having a reference to the moving average being greater than it was 2 days ago but it doesnt really help . Even a minor rise makes it buy.
I really want it to be related to the slope of the moving average. I think there is a slope function in amibroker but I have no idea how to do it.
Can anyone please help me
Thanks
TS = TSF(C,200) > Ref(TSF(C,200), -5);
DE = DEMA(C,100) > Ref(DEMA(C, 100), -5);
ST = StochD(15) > Ref(StochD(15), -1);
SB = StochD(15) < 30;
Buy = TS && DE && ST && SB;
Sell = 0;
Filter = Buy;
AddColumn(Buy, "BUY CHECK", 1.2, 29, 54, -1);
Im also having trouble making some code for Amibroker so that I can make a buy condition that suits the following.
Buy when the slope of a moving average is at a % gradient pointing up. Ive tried having a reference to the moving average being greater than it was 2 days ago but it doesnt really help . Even a minor rise makes it buy.
I really want it to be related to the slope of the moving average. I think there is a slope function in amibroker but I have no idea how to do it.
Can anyone please help me
Thanks
DE = DEMA(C, 200) > Ref(DEMA(C, 200), -1);
SH = StochK() > 20;
SL = StochK() < 30;
SU = StochK() > Ref(StochK(), -1);
Buy = DE && SH && SL && SU;
Sell = 0;
Filter = Buy;
AddColumn(Buy, "Let's Rock", 1.2, 24, 43, -1);
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?