Topics
Replies
Acrovyn
13 Aug 2020, 16:39
RE:
PanagiotisCharalampous said:
Hi Sharpie,
Unfortunately we will need the source code to investigate this.
Best Regards,
Panagiotis
Hi PanagiotisCharalampous,
Fortunately a friend help find the source code and likewise re-code the algo. It is working perfectly now.
He mentioned that he update code with the new API, and also mentioned "apparently the new API do not support negative alignment".
I hope this helps Paul as well :)
Acrovyn
13 Aug 2020, 14:28
RE: RE: I got some help from a friend, try this. Pips without decimal.
using System;
using cAlgo.API;
using cAlgo.API.Indicators;
namespace cAlgo.Indicators
{
[Indicator(IsOverlay = true, AccessRights = AccessRights.None)]
public class PipCounter2 : Indicator
{
[Obsolete()]
public override void Calculate(int index)
{
double candleSize = Math.Abs(MarketSeries.Low[index] - MarketSeries.High[index]);
double candleSizePips = (int)Math.Round(candleSize / Symbol.PipSize, 3);
// object name and text
// location
ChartObjects.DrawText(index.ToString(), candleSizePips.ToString(), index, MarketSeries.High[index], VerticalAlignment.Top, HorizontalAlignment.Center);
}
}
}
Storm31 said:
Thank you!
croucrou said:
using System; using cAlgo.API; using cAlgo.API.Indicators; namespace cAlgo.Indicators { [Indicator(IsOverlay = true)] public class CandleSize : Indicator { public override void Calculate(int index) { double candleSize = Math.Abs(MarketSeries.Low[index] - MarketSeries.High[index]); double candleSizePips = Math.Round(candleSize / Symbol.PipSize, 3); ChartObjects.DrawText( index.ToString(), candleSizePips.ToString(), // object name and text index, MarketSeries.High[index], // location VerticalAlignment.Top, HorizontalAlignment.Center); } } }
Acrovyn
02 Jun 2020, 15:29
RE: RE:
Wouldn't be nice if we can just click a top row to sort say as example on image like Instrument names, Price Change, Percentage change and so on.
firemyst said:
Sharpie said:
can this feature on ctrader be updated so that it has this function of sorting the watch list by change percentage or price change or ascending/descending order. This will greatly help us monitoring quickly which pair moves a lot. Thanks.
If you have your own watch list, you can already sort by symbol name asc/desc (although it is a manual process).
Just left-click-and-hold on the symbol you want, and then drag it up/down to where you want it in the list.
Hope that helps?
Acrovyn
02 Jun 2020, 09:13
RE:
Done :)
PanagiotisCharalampous said:
Hi Sharpie,
Please use the Suggestions section to post your suggestions.
Best Regards,
Panagiotis
Acrovyn
04 Aug 2018, 11:20
RE:
ramirodennis@gmail.com said:
Hi Guys,
Can anyone help how to add EMA to Williams Accumulation and Distribution indicator?
Will be greatly appreciated.
Thank you for your support.
Dennis
I did it already, I hope admin will delete my post.
Thanks.
Acrovyn
21 Sep 2021, 12:55
RE:
This has been suggested for quite long time now and by many traders. I hope spotware will make it a priority.
TheMC said: