View Single Post
  #109 (permalink)  
Old 08-24-2007, 11:17 PM
WRR WRR is offline
Member
 
Join Date: Nov 2005
Posts: 64
WRR is on a distinguished road
Wrr_zup_info with Alerts

Hello Traders! Attached please find my new indicator that gives Alerts for nen's ZUP indicator.

First credit must be given to “nen” for writing ZUP indicator. The original development of the indicator is found at this link:
http://onix-trade.net/forum/index.ph...dpost&p=220949

I have modified the Gartley Patterns section of the “ZUP_v67.mq4” indicator in a few places to allow it to export data to another indicator I wrote. The file with the modifications to nen’s indicator is called ZUP_v67.01_WRR.mq4.

The indicator I wrote called “ZUP_v67.01_WRR_INFO.mq4” pulls data from nen’s indicator and does the following:

Draws a text block on the chart with the following:

Is there a pattern?
Which Pattern?
Minimum and maximum price range in which Pattern is valid.

The above is the same information as is available in Comments when ZUP is set to show one pattern and the infoTF switch is turned on.

In addition to what ZUP does, WRR_ZUP_INFO does this:

Allows you see the text even if Comments from other indicators are running.

This text block can easily be moved anywhere on the chart
You can easily change font sizes and colours,
and it tells you:

Pattern Failed?
Size of range in which pattern is valid
Pips Risk to entry if pattern fails.
Alerts when new Patterns form
Alerts when Patterns FAIL
You can get these Alerts for multiple timeframes by opening the relevant charts.

The only adjustments on the ZUP_WRR_INFO indicator besides font settings and text positions is an Alert on or off control.

Attached is a sample Template, sample Profiles, a copy of the modified ZUP_v67.01_WRR.mq4 indicator, my ZUP_v67.01_WRR_ZUP_INFO.mq4 indicator and a quick NEWBIE INSTALL.txt file.

If you open my indicator with the MT4 editor you will see some notes on what I did to nen's indicator to get this all to work.

TO GET the ZUP_v67.01_WRR.mq4 INDICATOR TO WORK, you must check the box "Allow DLL imports" in the Common Tab of the indicator's properties.

Hopefully nen will get the ZUP_v67.01_WRR.mq4 indicator and leave my export data code in place when he updates to ZUP_v68.mq4.

Poruchik, perhaps you could pass my files along to nen?

Cheers,
WRR

Sorry but I had a bug in the WRR_ZUP_INFO code which is now fixed. I replaced attachments below.
Attached Files
File Type: rar ZUP_WRR_INFO.rar (186.5 KB, 938 views)
File Type: zip ZUP_WRR_INFO.zip (194.3 KB, 931 views)

Last edited by WRR; 08-25-2007 at 07:34 PM. Reason: Corrected bug in code and replaced attachments 2007.08.25 14:02 EDT
Reply With Quote