Category Oscilators  Published on 12/03/2022

Entry Help (entry trigger)

Description

Art is in simplicity!

This is a very simple and handy tool that can be a strong, fast, and loyal companion when you want to enter a position and looking for a trigger.

The tool consists of RSI, one-step smoothing, and SMA and can be used for exploring Divergence, FakeOut, Support, and Resistance.

Thanks to my friend that shared this idea whit me, Ali Akbari. (his telegram channel: @TFLedu)

 

More info or contact: algo3xp3rt@gmail.com      Or     github.com/J-Yaghoubi

 

 



////////////////////////////////////////////////////////////////////////////////////////
///                                      Entry Help                                  ///
///                      (Combination of RSI and SMA as Entry trigger)               ///
///                                                                                  ///
///         Publish date  13-MARCH-2022                                              ///
///         Version  1.0.0                                                           ///
///         By  Seyed Jafar Yaghoubi                                                 ///
///         License  MIT                                                             ///
///         More info https://github.com/J-Yaghoubi/                                 ///
///         Contact  algo3xp3rt@gmail.com                                            ///
///                                                                                  ///
////////////////////////////////////////////////////////////////////////////////////////

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 EntryHelp : Indicator
    {
        #region parameters

        [Parameter("RSI Period", DefaultValue = 50, MinValue = 1, Group = "Preset")]
        public int rsiPeriod { get; set; }

        [Parameter("RSI Smoothness", DefaultValue = 2, MinValue = 1, Group = "Preset")]
        public int rsiSmoothness { get; set; }

        [Parameter("SMA Period", DefaultValue = 50, MinValue = 2, Group = "Preset")]
        public int smaPeriod { get; set; }

        [Output("RSI", LineColor = "FFBF9100", Thickness = 1)]
        public IndicatorDataSeries _RSIresult { get; set; }

        [Output("SMA", LineColor = "FF025776", Thickness = 1)]
        public IndicatorDataSeries _SMAresult { get; set; }

        #endregion

        #region Global variables

        private RelativeStrengthIndex RSI;
        private ExponentialMovingAverage EMA;
        private SimpleMovingAverage SMA;

        #endregion

        protected override void Initialize()
        {
            RSI = Indicators.RelativeStrengthIndex(Bars.ClosePrices, rsiPeriod);
            EMA = Indicators.ExponentialMovingAverage(RSI.Result, rsiSmoothness);
            SMA = Indicators.SimpleMovingAverage(EMA.Result, smaPeriod);
        }

        public override void Calculate(int index)
        {
            if (index < smaPeriod)
                return;

            _RSIresult[index] = EMA.Result.Last(0);
            _SMAresult[index] = SMA.Result.Last(0);

            ChartObjects.DrawText("Copyright", "ⒸS.J.Yaghoubi", StaticPosition.BottomLeft, Colors.Gray);

        }
    }
}


algo3xp3rt's avatar
algo3xp3rt

Joined on 17.12.2021

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: Entry Help.algo
  • Rating: 0
  • Installs: 2841
  • Modified: 12/03/2022 20:46
Comments
Log in to add a comment.
LD
ldenegdaj · 3 months ago

Looking for a unique piece of jewelry to commemorate a special occasion

VA
vandaldsa · 7 months ago

Je suis tombé sur  alors que je cherchais les meilleures offres de paris en Tunisie, et j'en suis très heureux ! Ce site offre une vue d'ensemble des meilleurs bookmakers du pays, ainsi que des critiques et des analyses détaillées. La sélection de promotions, y compris les bonus de bienvenue et les paris gratuits, est vraiment impressionnante et s'adresse aux parieurs de tous niveaux.

SU
Susan_Batten · 1 year ago

Thanks a lot!

JG
jg9588727 · 2 years ago

It is very interesting and well-prepared! I'm glad to know people can do such genius things! I was trying to do something like this, but my home tasks didn't allow me to. I had no time even to sleep, but when I found this service  https://www.nursingpaper.com/nursing-homework/ it became a bit easier for me, as these guys are real experts, and can deliver my papers in no time.