Spécifications
Overview
ZigZag MultiTF MultiPair Scanner Display Panel
Indicator Panel Requirements
1. Indicator panel of past scanner display ascending results, one pair result per line up to 10 (configurable) lines
2. on indicator attached chart candle close, scan currency pairs (text box configurable i.e AUDUSD;EURUSD;USDCAD;XUAUSD.........USDJPY etc) for specific chart alert condition (see below)
3. configurable TimeFrame to check on candle close and to scan ENUM drop down [M1,M5,M15,M30,H1,H4,D1,W1,MN]
4. on finding alert conditions then display the data found in the info panel i.e.
ASCII representation of panel
-----------------------------------------------
ZZ MF TF PAIR SCANNER v0.1
-----------------------------------------------
H1 AUDUSD ZZ SHORT at <date> [chart open button]
H1 EURUSD ZZ LONG at <date> [chart open button]
H1 XAUUSD ZZ SHORT at <date> [chart open button]
H1 AUDUSD ZZ SHORT at <date> [chart open button]
H1 EURUSD ZZ LONG at <date> [chart open button]
H1 XAUUSD ZZ SHORT at <date> [chart open button]
H1 AUDUSD ZZ SHORT at <date> [chart open button]
H1 EURUSD ZZ LONG at <date> [chart open button]
H1 XAUUSD ZZ SHORT at <date> [chart open button]
-----------------------------------------------
[RESCAN CHARTS BUTTON]
-----------------------------------------------
5. size and position of panel must be configurable
6. background colour of panel must be configurable
7. then if you click on any of the currency pair result lines (button) in the panel table and this then opens a chart of the relevant currency pair and timeframe and applies a template (template name configurable)
8. rotation (LIFO) if a new pattern is found, then current lines are shifted down and the new line is inserted at the top of the indicator info panel table display and the last one is deleted etc
9. there should also be a [RESCAN CHARTS BUTTON] so the process can be run manually at any time (not just on candle close)
Scan Conditions
Config data for conditions
1. Use ZigZag indicator (with usual zig zag configs configurable) to work out last zigzag peak candle(s) for short and last trough candle(s) for long and iterate back through zigzag points and checking until we hit a max of maxzz[n] (configurable)
2. drop down enum for price comparison open/close/high/low [of last peak candle for short / or last trough candle for long] --> select one of these to be used for comparison zz_condition1
3. drop down enum for price comparison open/close/high/low [of last peak candle for short / or last trough candle for long] --> select one of these to be used for comparison zz_condition2
4. drop down enum for price comparison open/close/high/low [of last peak candle for short / or last trough candle for long] --> select one of these to be used for comparison zz_condition3
5. drop down enum for price comparison open/close/high/low [of last peak candle for short / or last trough candle for long] --> select one of these to be used for comparison zz_condition4
6. drop down enum for price comparison open/close/high/low [last candle close] --> select one of these to be used for comparison --> select one of these to be used for comparison current_condition1
7. drop down enum for price comparison open/close/high/low [last candle close] --> select one of these to be used for comparison --> select one of these to be used for comparison current_condition2
8. drop down enum for price comparison open/close/high/low [last candle close] --> select one of these to be used for comparison --> select one of these to be used for comparison current_condition3
9. drop down enum for price comparison open/close/high/low [last candle close] --> select one of these to be used for comparison --> select one of these to be used for comparison current_condition4
10. average tick volume [ over the last [n] candles (configurable)] to be used for avg_comparison avg_volume_condition1
11. tick volume of last candle to be used for comparison volume_condition2
Short Condition Alert
if current_condition1 < zz_condition1 and current_condition2 > zz_condition2 and current_condition3 < zz_condition3 and current_condition4 < zz_condition4 and volume_condition2 > avg_volume_condition1 the Short Alert
Long Condition Alert
reverse of the above