fsgesg free

by info.creativeclicks in category Trend at 14/11/2022
Description

reswtewrtgqeawrhqer

Warning! Executing the following cBot may result in loss of funds. Use it at your own risk.
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: cAlgo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;

namespace cAlgo
{
    [Cloud("Fast MA", "Slow MA",  FirstColor = "LawnGreen")]

    [Indicator(AccessRights = AccessRights.None, IsOverlay = true)]
    public class MovingAverageCrossOverExperto : Indicator
    {
        [Parameter("Fast Period", DefaultValue = "45")]
        public int fastPeriod{ get; set; }
        
        [Parameter("Slow Period", DefaultValue = "100")]
        public int slowPeriod{ get; set; }
        
        [Parameter("Moving Average Type", DefaultValue = MovingAverageType.WilderSmoothing)]
        public MovingAverageType MaType { get; set; }

        [Output("Fast MA", LineColor = "LawnGreen")]
        public IndicatorDataSeries Fast_MA { get; set; }
        
        [Output("Slow MA", LineColor = "Coral")]
        public IndicatorDataSeries Slow_MA { get; set; }
        
        public MovingAverage SlowMa;
        
        public MovingAverage FastMa;

        protected override void Initialize()
        {
            FastMa = Indicators.MovingAverage(Bars.ClosePrices, fastPeriod, MaType);
            
            SlowMa = Indicators.MovingAverage(Bars.ClosePrices, slowPeriod, MaType);
        }

        public override void Calculate(int index)
        {
            Fast_MA[index] = FastMa.Result[index];
            Slow_MA[index] = SlowMa.Result[index];
            
            if(Bars.ClosePrices[index] >= FastMa.Result[index])
            {
                if(Bars.ClosePrices[index] >= Bars.OpenPrices[index])
                    Chart.SetBarColor(index, Color.LawnGreen);
                else if(Bars.ClosePrices[index] < Bars.OpenPrices[index])
                    Chart.SetBarColor(index, Color.Green);
            }
             else if(Bars.ClosePrices[index] < FastMa.Result[index])
            {
                if(Bars.ClosePrices[index] <= Bars.OpenPrices[index])
                    Chart.SetBarColor(index, Color.Red);
                else if(Bars.ClosePrices[index] > Bars.OpenPrices[index])
                    Chart.SetBarColor(index, Color.Coral);
            }
            
            
        }
    }
}
Comments

TraderExperto - November 15, 2022 @ 02:50

Why are you copy pasting my indicator?  What's so cool about doing it?

This is the original one Moving Average Cross Over

dietrichvidal - November 18, 2022 @ 03:16

The number of articles I've read is quite high. But the article makes some clear and profound arguments. Someday, I'll make it over to your other threads. geometry dash

asshancuc - November 19, 2022 @ 04:40

Looking at this article, I miss the time when I didn't wear a mask. bitcoincasino Hopefully this corona will end soon. My blog is a blog that mainly posts pictures of daily life before Corona and landscapes at that time.    If you want to remember that time again, please visit us.  

fnaf123ab - November 19, 2022 @ 05:53

Do you like to play games? With the challenge brought fall guys is a fun and pleasant game for people of all ages. Compete against the other players. To win, compete in congested areas and conquer obstacle chapters.

naveensinghk29 - December 05, 2022 @ 08:34

Windows Update Error Code 80072EFE happens when your system is unable to check for Windows Update. This is a common issue and can happen to almost everyone. Fortunately, there are several methods that you can use to troubleshoot this problem. Read our blog to follow the step-by-step guide on How to fix Windows Update Error Code 80072EFE 

naveensinghk29 - December 05, 2022 @ 13:44

There can be many reasons you sometimes see "Instagram User not found" .The most common reason includes the account may be temporarily disabled or it has been deleted or you have been blocked. In this blog, we're going to know why you see  user not found on instagram

0