Login Page - Create Account

Support Board


Date/Time: Tue, 16 Jan 2018 09:47:29 +0000



Post From: Recreate an indicator

[2017-12-18 19:14:42]
User465417 - Posts: 4
Hello,

I wanted to recreate a very simple indicator from CQG called peak. http://help.cqg.com/cqgic/default.htm#!Documents/peakpeak.htm

Basically this is how it's calculated:
Calculation

Hi Peak = Highest Price with LLev (number) of lower highs preceding the Hi Peak and RLev (number) of lower highs following it.

Lo Peak = Lowest Price with LLev (number) of higher lows preceding the Lo Peak and RLev (number) of higher lows following it.

LLev

Determines the number of bars to the left of the Hi/Lo peak which must have a lower Hi/higher Lo.

RLev

Determines the number of bars to the right of the Hi/Lo peak which must have a lower Hi/higher Lo.

And I want to use the setting of 30 aka 30 bars for LLev and RLev.

Can anyone help me out?