Description
Alpilean is a weight reduction pill that assists you with consuming fat by focusing on your internal heat level. It works by expanding digestion and controlling your hunger. The fixings in the enhancement help to diminish fat cells and increment the development of brown fat tissue (BAT). BAT has been distinguished to be areas of strength for an in expanding thermogenesis in the body, which is the most common way of consuming calories. Alpilean is the principal weight reduction supplement made in the USA under FDA and GMP-managed offices. The fixings are unadulterated, regular, and tried for security. https://factschronicle.com/alpilean-reviews-27544.html
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
{
[Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class TripleMACD : Indicator
{
[Parameter("Long Cycle", DefaultValue = 27)]
public int LongCycle { get; set; }
[Parameter("Short Cycle", DefaultValue = 12)]
public int ShortCycle { get; set; }
[Parameter("Signal Periods", DefaultValue = 9)]
public int Periods { get; set; }
[Parameter("Shift", DefaultValue = 0)]
public int Shift { get; set; }
[Parameter()]
public DataSeries Source { get; set; }
[Parameter("Long CycleH", DefaultValue = 72)]
public int LongCycleH { get; set; }
[Parameter("Short CycleH", DefaultValue = 32)]
public int ShortCycleH { get; set; }
[Parameter("Signal PeriodsH", DefaultValue = 24)]
public int PeriodsH { get; set; }
[Parameter("ShiftH", DefaultValue = 0)]
public int ShiftH { get; set; }
[Parameter("Long CycleL", DefaultValue = 12)]
public int LongCycleL { get; set; }
[Parameter("Short CycleL", DefaultValue = 4)]
public int ShortCycleL { get; set; }
[Parameter("Signal PeriodsL", DefaultValue = 3)]
public int PeriodsL { get; set; }
[Parameter("ShiftL", DefaultValue = 0)]
public int ShiftL { get; set; }
private MacdCrossOver _macdCrossOver;
private MacdCrossOver __macdCrossOver;
private MacdHistogram _macdHistogram;
[Output("MACD", LineColor = "D6359CDA")]
public IndicatorDataSeries Macd { get; set; }
[Output("MACDL", LineColor = "D3BF9100")]
public IndicatorDataSeries MacdL { get; set; }
[Output("MACDH", PlotType = PlotType.Histogram, LineColor = "7000796B")]
public IndicatorDataSeries MacdH { get; set; }
[Output("Signal", LineStyle = LineStyle.Lines, LineColor = "15008000")]
public IndicatorDataSeries Signal { get; set; }
[Output("SignalH", LineStyle = LineStyle.Lines, LineColor = "15008000")]
public IndicatorDataSeries SignalH { get; set; }
[Output("SignalL", LineStyle = LineStyle.Lines, LineColor = "15008000")]
public IndicatorDataSeries SignalL { get; set; }
protected override void Initialize()
{
_macdCrossOver = Indicators.MacdCrossOver(LongCycle, ShortCycle, Periods);
__macdCrossOver = Indicators.MacdCrossOver(LongCycleL, ShortCycleL, PeriodsL);
_macdHistogram = Indicators.MacdHistogram(Source, LongCycleH, ShortCycleH, PeriodsH);
}
public override void Calculate(int index)
{
Macd[index + Shift] = _macdCrossOver.MACD[index];
MacdL[index + ShiftL] = __macdCrossOver.MACD[index];
MacdH[index + ShiftH] = _macdHistogram.Histogram[index];
Signal[index + Shift] = _macdCrossOver.Signal[index];
SignalL[index + ShiftL] = __macdCrossOver.Signal[index];
SignalH[index + ShiftH] = _macdHistogram.Signal[index];
}
}
}
BE
besisusi
Joined on 22.11.2022
- Distribution: Free
- Language: C#
- Trading platform: cTrader Automate
- File name: Three in One.algo
- Rating: 0
- Installs: 716
- Modified: 22/11/2022 00:30
Note that publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section, please use the Copyright Infringement Notification form to submit a claim.
Comments
Log in to add a comment.
No comments found.