Home

Skype Me

My status

MQL Shopping Cart

VirtueMart
Your Cart is currently empty.

User Menu

MQL Service Login






MQL Currency Selector


 
Hard Levels
( 5 Votes )

There are many indicators showing support / resistance level. This is one of them. It allows for using multiple timeframes and has many options to set. It also uses advanced filtering to provide most important levels.

The idea is to count bars prices of certain types which have the same level within defined tolerance. If there is enough bars at the same level we consider this level as important support / resistance.

 

Parameters:

  • TimeFrame - bars prices will come from this timeframe. It can be one of 1=M1, 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1, 10080=W1, 43200=MN1
  • TolerancePips - this is tolerance in pips beetwen line and bar price we check. If price is within tolerance we have hit.
  • Hits - minimum of hits to acept level.
  • StartBar - how many bars will be checked for level.
  • LookBack - how many bars we check back for each start bar.
  • AppliedPrice - first applied price we try to match. Can be one of 0-CLOSE | 1-OPEN | 2-HIGH | 3-LOW | 4-MEDIAN | 5-TYPICAL | 6-WEIGHTED.
  • AppliedPriceExtra - second applied price we try to match. Can be one of 0-CLOSE | 1-OPEN | 2-HIGH | 3-LOW | 4-MEDIAN | 5-TYPICAL | 6-WEIGHTED.
  • UseFiltering - if this is true advanced filtering is executed on levels in order to find most important lines.
  • FilterStrength - how strong the filtering will be.
  • LineColor - color of lines.
  • LineWidth - lines width.
  • Force4DigitBrokers - when set to true on 5 Digit brokers will take 1 pip as 10 broker pips.

     

Example

Hard_lines2

Click to zoom..

Attachments:
FileDescriptionFile sizeLast Modified
Download this file (HardLevels.mq4)HardLevels.mq4HardLevels ver.3 indicator code in MQL4. Upload it to your MetaTrader directory /experts/indicators/9 Kb02/06/09 14:59

 
Comments (4)
4 Saturday, 03 October 2009 12:03
ashraf
It is a very good tool. It can also be turned into a retracement/reversal aid if an switch for price level is added.

Example: I input on a EurUsd chart 1.3950 in the price level field and select tolerance pips of 20 then the tool should draw lines between 1.3950 +20 and 1.3950-20 , that is, between 1.3970 and 1.3930 and produce by way of comment Number of Hits in a corner of the chart and draw lines at these levels.

Thank you again for making such a user-friendly tool for simple trading.
3 Tuesday, 07 July 2009 14:53
Rafal
Default parameters are included in indicator. On the above chart you see three indicators using different timeframes.
2 Saturday, 04 July 2009 10:55
AG
Can i know the default parameters.
1 Tuesday, 09 June 2009 19:11
Jani
very interesting way of looking at S&R!

Add your comment

Your name:
Comment:
Copyright © 2010 MQL Service UK. All Rights Reserved.

| Home | Services | Orders |