
meneto

Info
Username: | meeting.chegini |
Name: | meneto |
Member since: | 16 Jan 2022 |
About
Signature
Last Algorithm Comments
@Display the news on the chart: 03 Jun 2023, 03:14
I hope it helped you!!
What does the idea that you said help to increase the win rate?
@RsiStoch: 03 Jun 2023, 02:57
I also tried to properly integrate Macd with these two indicators, but I did not get any results
Last Forum Posts
@Understanding the name of the indicator in the IndicatorAreas: 29 May 2023, 19:11
jim.tollan said:
You seem to be under the illusion that firemyst is one of your employees. I suggest you adopt a better bedside manner. Thereafter, you'll be pleasantly surprised at the number of folk that that will be willing to help out with any issues you have. Until then - business as usual.
FWIW - this was the extended approach that firemyst was alluding to:
foreach (var indicatorArea in Chart.IndicatorAreas) { foreach (var indicator in indicatorArea.Objects) { Print($"Indicator => Area: {indicatorArea.GetType().Name} Name: {indicator.Name}"); } }
Whilst it is frustrating to not be presented with the answer that you WANT, sometimes you just have to be grateful that folk have taken the time to point you in the right direction.
thank you for your help But this code doesn't show anything. Because indicatorArea.Objects.Count =>> 0 And the internal for command is not executed at all
Unfortunately, I am not fluent in English and I use Google translator for help. Maybe I can't ask my question correctly!!
@Understanding the name of the indicator in the IndicatorAreas: 20 May 2023, 00:33
firemyst said:
meeting.chegini said:
Dear friend, do you want to teach me how to split the nucleus of an atom?This is a simple question! If you know the solution, please guide me
How to split the nucleus of an atom: there's plenty of "how to's" on Google and YouTube already on how to do it.
Guiding you on this issue - I already started. Second post in this thread is how you would start going about doing it through C# code. If you're not trying by writing any code, I'm not writing code for you. Best way to learn is to do it on your own.
If you're just looking at the chart and wondering where they are on the chart, then look for the indicator name on the chart:
If the name of the indicator isn't on your chart, then put it there by choosing to display "Indicator Titles":
I wanted to find out through C# what oscillators are placed on the chart, but I couldn't find a solution. And I think there is no way
And I respect your wrong way of thinking.
Good luck.
@combine two indicator: 20 May 2023, 00:01
arash.box said:
meeting.chegini said:
سلام آرش جان ببین این کارتو راه میندازه
سلام
آقای چگینی عزیز متشکرم از راهنماییتون
پیروز و سربلند باشید
خواهش میکنم دوست عزیز
شما هم همینطور
@Understanding the name of the indicator in the IndicatorAreas: 18 May 2023, 20:45
firemyst said:
meeting.chegini said:
firemyst said:
meeting.chegini said:
Hello
How do I know the name of the indicator in the IndicatorAreas?For example, What is the name of the Chart.IndicatorAreas[0] indicator?
Try something like this:
Chart.IndicatorAreas[0].Objects[0].Name
Because each indicator area can have more than 1 object in it, you'll have to loop through all the objects to get all their names.
I don't want this!!
I want a code that gives me the name of the oscillator
I just gave you the general code above on what you have to do.
It's up to you to implement depending on the rest of your code.
I'm not going to write everything for you.
Dear friend, do you want to teach me how to split the nucleus of an atom?
This is a simple question! If you know the solution, please guide me
@Understanding the name of the indicator in the IndicatorAreas: 07 May 2023, 14:07
firemyst said:
meeting.chegini said:
Hello
How do I know the name of the indicator in the IndicatorAreas?For example, What is the name of the Chart.IndicatorAreas[0] indicator?
Try something like this:
Chart.IndicatorAreas[0].Objects[0].Name
Because each indicator area can have more than 1 object in it, you'll have to loop through all the objects to get all their names.
I don't want this!!
I want a code that gives me the name of the oscillator
@Understanding the name of the indicator in the IndicatorAreas: 05 May 2023, 09:50
Hello
How do I know the name of the indicator in the IndicatorAreas?
For example, What is the name of the Chart.IndicatorAreas[0] indicator?
@multi timeframe in custom indicator: 11 Apr 2023, 15:58
PanagiotisChar said:
Hi there,
Here you go
var bars = MarketData.GetBars(TimeFrame.Daily); _adx = Indicators.AverageTrueRange(bars, 10, MovingAverageType.Exponential);
Thanks for the tip you posted but that's not what I meant!
I will explain again:
this is my custom indicator:
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.Indicators
{
[Indicator(AccessRights = AccessRights.None, IsOverlay = false)]
public class CandleSizeMoving : Indicator
{
[Parameter("Candle Period", DefaultValue = 3)]
public int CandlePeriod { get; set; }
[Parameter("Moving Period", Group = "Moving Average", DefaultValue = 200)]
public int MAPeriod { get; set; }
[Output("Main")]
public IndicatorDataSeries Result { get; set; }
[Output("small", LineColor = "Aqua")]
public IndicatorDataSeries Moving { get; set; }
private MovingAverage MA { get; set; }
protected override void Initialize()
{
MA = Indicators.MovingAverage(Result, MAPeriod, MovingAverageType.Exponential);
}
public override void Calculate(int index)
{
double t_body = 0.0;
for (int i = CandlePeriod; i > 0; i--)
t_body += Math.Abs(Bars.HighPrices[index - i] - Bars.LowPrices[index - i]) / Symbol.PipSize;
Result[index] = t_body / CandlePeriod;
Moving[index] = MA.Result[index];
}
}
}
And I want my indicator to have the ability retrieve OHLCV data for multiple timeframes, like other indicators
@multi timeframe in custom indicator: 09 Apr 2023, 17:01
hi
How can I have the results of other time frames for my custom indicator?
Like the AverageTrueRange indicator, whose first parameter can be adjusted to provide the results of other time frames
@Connection very unstable: 26 Jan 2023, 13:40
Hi,The connection is still unstable and keeps disconnecting and reconnecting. This happens 100 times a day.
In our country, the speed of the Internet has been greatly reduced for some time. However, Metatrader has no connection problems.
How can this problem be solved?