For EOD exploration and using a long moving average. The problem with the long MA is the share price can be on it's way down before the long MA starts to decline. However, issues with this exploration can be chopped at discretion.
You may want to move away from a MA as trending tool but most tools have their use.
PHP: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);
Thats a great bit of code. ThanksI suppose I could just alter for a sell below 80?
Hi pennies. Yes you are right the 80 does not get crossed all the time with those parameters so why not add another exit? The trailing stop may well be the exit that fits all trades but not always.
I try to keep the entry and exit criteria simple. Prices go up or down or stay the same.
Banded oscillators are designed to identify overbought and oversold extremes. Since these oscillators fluctuate between extremes, they can be difficult to use in trending markets. Banded oscillators are best used in trading ranges or with securities that are not trending. In a strong trend, users may see many signals that are not really valid. If a stock is in a strong uptrend, buying on oversold conditions will work much better than selling on overbought conditions
Apart from the initial stop to fix loss if the trade goes against, I don't know of any most effective stop. Perhaps someone else does????Im trading over periods of a few days to several weeks. What types of stops work most effectively for this type of trading?
Thanks
Apart from the initial stop to fix loss if the trade goes against, I don't know of any most effective stop. Perhaps someone else does????
By far the most effective is the one you take!
For EOD exploration and using a long moving average. The problem with the long MA is the share price can be on it's way down before the long MA starts to decline. However, issues with this exploration can be chopped at discretion.
You may want to move away from a MA as trending tool but most tools have their use.
PHP: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);
From the example code ---- yes && is AND and my signals are generated exactly as the circumstance occurs. That is, it does as the code states. Amibroker does what the code says otherwise 99% of the time it is human error.Can you please tell me what && means in AFL. Is it AND?
Im wondering how I get a buy signal when the stochastic is above 30 and turns up. The way I read that formula it tells me the the stochastic is between 20 and 30 and heading up. Is that right. Curious as to why I get a buy signal when the stochastic only made it down to 43 and didnt get to between 20 and 30
From the example code ---- yes && is AND and my signals are generated exactly as the circumstance occurs. That is, it does as the code states. Amibroker does what the code says otherwise 99% of the time it is human error.
My stoch %K standard settings are 15,3. You have 15,5.Was I supposed to put values in the brackets for the stochastic code above? It looks like ithe signals on my chart work well on the price but they dont seem to be right on the stochastic.
My stoch %K standard settings are 15,3. You have 15,5.
Note the code is my beginners effort.
Hi, Could you post the pre March 2009 chart. March 2008 to March 2009. Thanks.I just use a simple formula (see chart) which changes the colour of the bars on my default template to give me a bit of a heads up of a potential change of direction.
(click to expand)
That being the case price action itself is the best I have found.
Higher highs and higher lows.
Whats with this fanatical devotion to Stochastic?
Total in difference to other suggestions?
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?