Price Cyclicality Function free

by cW22Trader in category Oscilator at 07/02/2022
Description

This oscillator is based of a mathematical model creted by Cristian PĂUNA and Ion LUNGU for the cyclicality of the price evolution. For more detail refer to the following paper:

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
Language: C#
Trading Platform: cAlgocTrader
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class PriceCyclicalityFunction : Indicator
    {
        [Parameter("Alpha", DefaultValue = 0.33, MinValue = 0.01)]
        public double Alpha { get; set; }

        [Parameter("MA Short Period", DefaultValue = 20, MinValue = 1)]
        public int MaShortPeriod { get; set; }

        [Parameter("MA Long Period", DefaultValue = 50, MinValue = 1)]
        public int MaLongPeriod { get; set; }

        [Parameter("Cycle Period", DefaultValue = 10, MinValue = 1)]
        public int CyclePeriod { get; set; }

        [Output("PCY")]
        public IndicatorDataSeries Result { get; set; }

        private MovingAverage maShort, maLong;

        private IndicatorDataSeries Delta;


        protected override void Initialize()
        {
            Delta = CreateDataSeries();
            maShort = Indicators.MovingAverage(Bars.TypicalPrices, MaShortPeriod, MovingAverageType.Simple);
            maLong = Indicators.MovingAverage(Bars.TypicalPrices, MaLongPeriod, MovingAverageType.Simple);
        }

        public override void Calculate(int index)
        {
            double delta, maxim, minim;

            if (index < MaShortPeriod || index < MaLongPeriod)
            {
                Result[index] = 0;
                return;
            }

            Delta[index] = maShort.Result[index] - maLong.Result[index];

            if (index > MaShortPeriod + CyclePeriod && index > MaLongPeriod + CyclePeriod)
            {
                maxim = Delta.Maximum(CyclePeriod);
                minim = Delta.Minimum(CyclePeriod);

                delta = 100.0 * (maxim - Delta[index]) / (maxim - minim);
                if (double.IsNaN(delta))
                    delta = Delta[index - 1];
            }
            else
            {
                delta = Delta[index];
            }

            Result[index] = Alpha * (delta - Result[index - 1]) + Result[index - 1];
        }
    }
}
Comments

charlottethomas952 - February 17, 2022 @ 11:48

Price Cyclicality Function Uncertainty I recognize but nevertheless problems in some equations. Kindly offer a cause of the whole lot because of the reality It might be very beneficial for my net web page that offers online assignment writers and academic assistance. I want to percent with the students so this is why I really want unique information.

pedrettivictoria96 - February 22, 2022 @ 09:48

Great posts!!! Pacman 30th Anniversary

aneesayesha952 - February 24, 2022 @ 14:07

Yes, it is so grateful to see this full view of the Price Cyclicality Function, which is so intellectual and desiring but there is also very beneficial and authentic Cars available from the most famous PROTON-PAKISTAN, which are so amazing in giving their best car for sale to the individuals very perfectly in all over Pakistan.

sheppardchambers3851839 - March 04, 2022 @ 22:11

Play the horror graphics physics platform game at the most popular game happy wheels unlocked

zakbrooks.zb - March 07, 2022 @ 12:11

Thanks for the tip. I still don't understand the uncertainty function and how it relates to price cyclicality, but UK logo design will try to figure it out.

 

michael.wilson2364 - March 12, 2022 @ 13:38

All Essay Roo reviews are useful for newbies. But this is where you can find out the whole truth. So don't waste your time and read the review.
https://essayservices.review/reviews/essayroo-review

patsm00re18 - March 17, 2022 @ 13:34

You can use Google to search for more information about it.

patsm00re18 - March 18, 2022 @ 09:44

Yes, seeing this complete perspective of the Price Cyclicality Function is quite helpful. 

Uncertainty in the Price Cyclicality Function I understand, but there are still issues in some formulae. 

Please provide a rationale for everything because it might be quite valuable to my internet site.
 

For the time being, check out the new popular games now and learn how to get better at pc gaming!

fwc63462 - June 04, 2022 @ 12:58

Fantastic site. Plenty of useful info here. I’m sending it to some friends ans also sharing in delicious. And obviously, thanks for your sweat! free cam chat    

emmawattson885 - June 22, 2022 @ 18:35

I am glad to see your post. In this period of time where the price inflation is very high, it is important to understand the price cyclicality function. Price cyclicality functions are very important to stay in the market and to avoid financial risk. And I am in the financial department of a book writing agency so, for me to understand these functions is very essential. But I don't know how to use them, can you guide me on how to use these functions. 

1_cxn766 - July 05, 2022 @ 10:10

Obviously, it likely aides that I just normally appreciate investigating and finding new things. However, the early Windows 8 experience had its battles. I'd become familiar with the iPad and even to my Windows Phone 7 gadget, storage 365 the two of which had heaps of applications accessible in their stores.

nobit2021 - July 07, 2022 @ 10:47

Thank you for your post. I have read through several similar topics! However, your article gave me a very special impression, unlike other articles. I hope you continue to have valuable articles like this or more to share with everyone! retro games

7ii1ji50 - July 14, 2022 @ 16:20

Some say, CBD is a decent Alzheimer's treatment, however they might play neglected the part that hereditary or natural elements play. They say, https://weedrepublic.com/ the outcomes might assist us with understanding how Alzheimer's is treating somebody.

katebuilding - August 02, 2022 @ 14:37

Thanks for the post! It is always interesting to read everything related to calculations. I have loved math since childhood. We always went to the store with my grandmother and I counted out loud how much change we need to return. I also like to chat in flirtymania.plus. It's very interesting and convenient. Everything can be done without leaving home.

haxegod771 - August 11, 2022 @ 09:48

Given the corpulence rates in this country there are a many individuals who are what is yuca fries dependent on food. Food fixation can be basically the same as liquor and chronic drug habits.

haxegod771 - August 11, 2022 @ 10:01

How could anybody need a great grin. Indeed, essentially on the grounds that your own appearance significantly affects how you feel and ponder yourself. Whether you're thinking about essix retainer with tooth clear aligners, retainers, or customary supports, an Orthodontist is the savvy decision.

haxegod771 - August 11, 2022 @ 10:37

Many organizations are re-appropriating their human resource office to build worth, effectiveness, and lessen costs. For the majority customary chiefs  vendor management framework rethinking HR capabilities is an overwhelming thought; for different pioneers it's freeing.

haxegod771 - August 11, 2022 @ 11:48

Presently having expressed about SAP, all of you realize that any SAP change project is an enormous endeavor and each client needs to invest most extreme energy and krypt devoted labor force to make the execution effective.

haxegod771 - August 11, 2022 @ 12:31

Business insurance can likewise cover you for things, for example, robbery and defacement concerning a few sorts of businesses huge load of cash can be summit winnipeg lost through these two things that can eat into your benefits.

6319qyn1 - August 12, 2022 @ 11:01

As for playing back video, designs, message and liveliness, layering various visual components and building and keeping a playout plan, signs printing organization is substantially more like a TV station than a meeting room with a projector and a show.

oliviajamy9 - August 15, 2022 @ 14:43

A thorough business plan, on the other hand, describes exactly the features of the area necessary, as well as what jobs the workers are expected to complete. What the compensation structure is going to be, provides much more information, allowing the reader to provide precise guidance; hence, business plan writing services may be critical in defining exactly what type of assistance is required. People are more likely to use your services if they trust your brand, which a white paper written by a professional whitepaper writing service may help you achieve. You want a white paper writer who will spend time investigating the subject as well as the sector in which you work.

 

junealexis001 - September 12, 2022 @ 12:13

Great site i love it keep posting more!   storage sheds memphis

stevebashlock70 - September 12, 2022 @ 13:39

Valuable tips regarding coding given by you. Anyone can understand it easily and implement it. I will contact you in future because of launching another services like Marketing Assignment.

charles1188 - November 17, 2022 @ 13:02

This gadget optically recognizes and inputs human hand/finger movements that imitates keystrokes on a customary console. Bluetooth innovation will empower hightechreviewer.com you to utilize this with PCs, PCs, pda's and Blackberry's. As I'm composing this, I keep thinking about whether the fate of instruments, explicitly the piano, will at any point be something similar!

0