## Min Max Cycle

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

### Re: Min Max Cycle

Circle location is set to date.
If this time frame is changed, circle locations will change accordingly.
If R is defined in pips or pixels, we will have the discontinuity with price action.

Apprentice
FXCodeBase: Confirmed User

Posts: 19840
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Min Max Cycle

Thank you for the reply and your explanation. In the last two pictures I did not change the timeframe but I changed the zoom in the chart and the place of the circles changed.
You are right, if we define the R based on a pips we will have the discontinuity with price action but I think there is way to prevent the discontinuity . It is as follows:
If we define a scale for the R( radius) of the circles then the problem will be solved .
The scale can be defined in a way that Radius = X/y
X here is the high- low ( amount of pips between high and low that we define) and y is the conversion rate for the pips.
For example if we assume that the amount of pips between high and low is 100 pips, and we give the conversion rate 10 the Radius is equal 100/10 = 10 bar
it means the radius is 10 bar , but this radius has both price and time included.
The conversion rate ( y) can be decimal or integer.
Can modify the R and change it into Scale R and define the R= X/y and the rest R2,R3,,,, is based on the R.
Thank you in advance .
High&Low

Posts: 39
Joined: Fri Oct 27, 2017 5:56 pm

### Re: Min Max Cycle

any help for modifying the indicator based on above explanation ?
High&Low

Posts: 39
Joined: Fri Oct 27, 2017 5:56 pm

### Re: Min Max Cycle

Your request is added to the development list under Id Number 3944

Apprentice
FXCodeBase: Confirmed User

Posts: 19840
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Min Max Cycle

Hi Apprentice,

I found a better explanation than what I wrote above for scaling the chart, Please check the link below :

High&Low

Posts: 39
Joined: Fri Oct 27, 2017 5:56 pm

### Re: Min Max Cycle

Hi,

Thank you
High&Low

Posts: 39
Joined: Fri Oct 27, 2017 5:56 pm

### Re: Min Max Cycle

High&Low wrote:Hi,

Thank you

Please, try this version of indicators.
I added scale parameter.

Min Max Cycle2.lua

Min Max Fib Cycle2.lua
Alexander.Gettinger
FXCodeBase: Confirmed User

Posts: 3342
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

### Re: Min Max Cycle

Hi,

Thank you for your help. I appreciate it.

Is it possible to add scale parameter to the custom indicator as well ?

viewtopic.php?f=17&t=64556#p115759
High&Low

Posts: 39
Joined: Fri Oct 27, 2017 5:56 pm

### Re: Min Max Cycle

Can you give me an example?

Apprentice
FXCodeBase: Confirmed User

Posts: 19840
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous