help please
Created at 16 Apr 2015, 07:26
help please
16 Apr 2015, 07:26
hello
I am newbie on this platform I retrieve the codes that I have a little change (I know not program) I would like to know how to do to increase the size of my characters on my graphics in this code.
desolated for my English but I use google translate I am French
cordially
using System; using cAlgo.API; using cAlgo.API.Internals; using cAlgo.API.Indicators; namespace cAlgo.Indicators { [Indicator(IsOverlay = true, AccessRights = AccessRights.None)] public class DrawSpread : Indicator { public override void Calculate(int index) { if (IsLastBar) DisplaySpreadOnChart(); } private void DisplaySpreadOnChart() { var sym = Symbol.Code; string text1 = string.Format("{0,321}", sym); ChartObjects.DrawText("Label1", text1, StaticPosition.TopRight, Colors.Yellow); var spread = Math.Round(Symbol.Spread / Symbol.PipSize, 5); string text = string.Format("{0,-121}", spread); ChartObjects.DrawText("Label", "\n\n", StaticPosition.TopRight, Colors.Yellow); ChartObjects.DrawText("spread", "\n" + text, StaticPosition.TopRight, Colors.White); var prix = Symbol.Ask; string text2 = string.Format("{0,-121}", prix); ChartObjects.DrawText("Label3", "\n\n\n\n", StaticPosition.TopRight, Colors.Yellow); ChartObjects.DrawText("Label2", "\n\n" + text2, StaticPosition.TopRight, Colors.Yellow); } } }
Spotware
19 Jun 2015, 15:51
Dear Trader,
We do not provide coding assistance services. We more than glad to assist you with specific questions about cAlgo.API. You also can contact one of our Partners or post a job in Development Jobs section for further coding assistance.
@Spotware