CCI_Flat_Extreme_Alert

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

CCI_Flat_Extreme_Alert

Postby 7510109079 » Thu Sep 14, 2017 10:32 am

Requesting a simple alert that indicates flat top and bottom extremes of the CCI indicator

User specifies following variables:

1) CCI Period

2) 'X' - the Extreme CCI level e.g. +/- 140
alerts only given for CCI values under/over these extremes

3) 'Y' - Measure of Flatness. i.e. max. change in CCI value allowed at next period e.g. 5
For overbought scenarios, alert only generated if CCI decreases by 5 or less (i.e between 5 & zero)
For oversold scenarios, alert only generated if CCI increases by 5 or less

Also allowed to set: line colour/style, alert dot colour/size, Live Alert/At close, Alert sound

click to see full image:
Image

Image

Graphic output- a single dot:
Image

Simple logic example would be something like:
- check previous CCI value
- if previous CCI value > X or < -X then check current CCI value
- if current CCI value is between 'X and X-5', then show alert (X and X+5 for oversold)
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am

Re: CCI_Flat_Extreme_Alert

Postby 7510109079 » Fri Sep 15, 2017 10:00 am

Image 4.png
full image

full image attached
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 13 guests