Click here to Login





                                                   wrong screening in cdl patterns

  0

0
felik
2010-05-22 04:58:50


just checked the new version though its performing daily screening for candl patterns but results are wrong for eg. i screened for hammer (and i used both options of hammer from the indicators)for 21/05/2010 . It gave results likeKPIT/ PIDILITE/ HINDALCO/ PFIZER/ TATA CHEM etc and it missed mahindra & mahindra finance AND GLENMARK WHICH HAD A TRUE HAMMER (MEANS LOWER SHADOW ATLLEAST TWICE THE SIZE OF BODY MEANS DIFFERENCE OF OPEN AND CLOSE).
So why did it miss GLENMARK ?? and gave others which were not hammer .Is it possibl to rewrite the hammer candle formula so that we get the stocks where the true condition of hammer is satisfied (MEANS LOWER SHADOW ATLLEAST TWICE THE SIZE OF BODY MEANS DIFFERENCE OF OPEN AND CLOSE)??????????

WEEKLY cdl pattern screening not giving results wen time frame is changed to weekly.
It does not give result in screening if CLOSE IS EQUAL TO 50/200/ XYZ SMA OPTION IS choosen THOUGH GIVES RESULTS FOR GRATER THEN OR LESS THEN xyz SMA
Chart window shows sma values but wat sma?? it does not show eg. MOVING AVERAGE 120.25 INSTEAD OF MOVING AVERAGE20DAYS 120.25 AND SCREENING RESULT GRAPHS DO NOT OPEN IN DEFAULT LAY OUT



QuantShare
2010-05-22 08:04:05

  0

Please do not use capitalized words

- Here are the Hammer Candle rules:
1- Small real body
2- Long lower shadow
3- No, or very short, upper shadow
4- Body below or near the lows of the previous candle

Mahindra & Mahindra Finance and GLENMARK did not pass because of rule 3 or rule 4.
There are several implementations of the Hammer; here are two other implementations:

Hammer 1:
a = (((high-low) > 3*(open-close)) AND ((close-low) / (0.001 + high - low) > 0.6) AND ((open - low) / (0.001 + high - low) > 0.6));

Hammer 2:
a = iff(absolute((high + low) / 2) < Ref(ema(close,10),1), iff(Min(open,close) > high - ((high - low) / 3),iff(close < Ref(close,1),iff(open < Ref(open,1), 1,0),0),0),0);


- Close prices are almost never equal to SMA values (Simple Moving Average)
If you want to close price to be near 50-bar moving average then use:
absolute(close - sma(50)) < threshold

- To update the indicator name, you have to change the description parameter of the "Plot" function.

- Graphs do open in default layout. To update the default layout, right click on a chart and select "Set current layout as default".



felik
2010-05-23 01:12:19

  0

Thanks for ur reply and wont use capital words in fture threads.But can u please explaint these hammer rules in anguage also so that it becomes clear that wat do they mean (and if i have to modift them then i am able to modify them because it wud also help in writing rules for different objectives)


Regards



QuantShare
2010-05-24 08:08:57

  0

If you want to use a different Hammer implementation, use the following one:

(((high-low) > 3*(open-close)) AND ((close-low) / (0.001 + high - low) > 0.6) AND ((open - low) / (0.001 + high - low) > 0.6));



felik
2010-05-24 22:57:07

  0

Hi
i tried the hammer rulein screener as a = (((............................. but it said error in formula . Then i sellected edit rulle from chart and tried to type the mentioned hammer rule as a new rule but again it said error ??? cud it be due to not giving space between >,+ and AND Plz help.

Regards



felik
2010-05-24 23:00:32

  0

I Graphs do open in default layout. To update the default layout,I right clicked on a chart and selected "Set current layout as default".but even then the graph wen opened from screened stock list they did not open in default.


felik
2010-05-24 23:07:56

  0

Hi just wanted to inform u thati have solved hammer rule problem with help from editor so dont reply for hammer

thanks & regards



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Ascending and Descending Triangle Patterns
Falling and Rising Wedge Patterns
Ascending, Descending and Symmetrical Triangle Chart Patterns
Falling Wedge and Rising Wedge Patterns
Head and Shoulders Pattern

How-to Lessons
How to perform a basic quantitative analysis using the S&P 500
How to improve the performance of QuantShare databases?
How to screen for stocks having a high correlation with the Dow J...
How to add a metric in the trading system simulation report
How to import your own list of stocks/symbols

Related Forum Threads
BUG IN CDL SCREENING
DISCREPANCIES IN SCREENING BY SCREENER AND SCREENING THRU WATCHLI...
Bullish vs Bearish Candle patterns
Screening for consolidation after large price/vol gain
Screening formula

Blog Posts
Screening with the composite indicators
Backtesting chart patterns using the auto support and resistance ...
Backtesting All Candlestick Patterns in 10 Minutes
Detect chart patterns using the auto support/resistance indicator
Volatility and trading systems









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.