Status
Closed
Budget
100.00 USD
Payment Method
Direct Payment
Job Description
Dear Sirs:
I am looking for a reliable programmer to add
an addition feature to an existing C# indicator.
The non-complex project has two parts:
(1) Check the correctness of calculations of a fully functional
ATR (Average true range) display indicator.
The code is available.
(2) Use the ATR daily values above, to auto draw retracement
levels, very similar to the Fibonacci retracement tool.
A demonstration video, illustrations, code, and specification sheet
are available.
Completion: 10 business days
Payment Method: Direct, at completion
Hope to hear from you soon.
Sincerely,
Ben
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
/// REV. DATE : 2020/03/28 (Ben Swanepoel) ///
/// REV. DATE : TUE-08-MAR-16 ///
/// MADE BY : ///S.KHAN ///
/// CONTACT ON : skhan.projects@gmail.com ///
/// ///
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
using System.Text;
namespace cAlgo
{
[Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class DisplayDWMPipsonCharts : Indicator
{
////////////////////////////////////////////////////////////////////////////////
/// USER INPUT ///
////////////////////////////////////////////////////////////////////////////////
[Parameter("1-Hour ATR, Period ", DefaultValue = 240, MinValue = 1, MaxValue = 500)]
public int p_Period_0 { get; set; }
[Parameter("4-Hour ATR, Period ", DefaultValue = 60, MinValue = 1, MaxValue = 500)]
public int p_Period_1 { get; set; }
[Parameter("Daily ATR, Period ", DefaultValue = 10, MinValue = 1, MaxValue = 300)]
public int p_Period_2 { get; set; }
[Parameter("Weekly ATR, Period ", DefaultValue = 4, MinValue = 1, MaxValue = 100)]
public int p_Period_3 { get; set; }
[Parameter("Monthly ATR, Period ", DefaultValue = 3, MinValue = 1, MaxValue = 60)]
public int p_Period_4 { get; set; }
[Parameter("Display Position, 1-8", DefaultValue = 6, MinValue = 1, MaxValue = 8)]
public int p_Display_Text { get; set; }
[Parameter("Display Color", DefaultValue = "Black")]
public string p_Display_Color { get; set; }
...
// ----------------------------------------------------------------------------------------------------------
// DISPLAY : PIPS AND ATR VALUES ON THE CHART
// ----------------------------------------------------------------------------------------------------------
// CONVERT TO STRING
//String('\t', n)
Display_TEXT.Append("TIME FRAME :\tPips\tATR");
Display_TEXT.AppendLine();
// HOURLY
Display_TEXT.Append("1-Hour\t:\t");
Display_TEXT.AppendFormat("{0:N0}", H1_Pips);
Display_TEXT.Append(",\t");
Display_TEXT.AppendFormat("{0:N0}", Hourly_ATR);
Display_TEXT.AppendLine();
// 4-HOURLY
Display_TEXT.Append("4-Hour\t:\t");
Display_TEXT.AppendFormat("{0:N0}", H4_Pips);
Display_TEXT.Append(",\t");
Display_TEXT.AppendFormat("{0:N0}", Hour4_ATR);
Display_TEXT.AppendLine();
// DAILY
Display_TEXT.Append("Daily\t:\t");
Display_TEXT.AppendFormat("{0:N0}", Daily_Pips);
Display_TEXT.Append(",\t");
Display_TEXT.AppendFormat("{0:N0}", Daily_ATR);
Display_TEXT.AppendLine();
// WEEKLY
Display_TEXT.Append("Weekly\t:\t");
Display_TEXT.AppendFormat("{0:N0}", Weekly_Pips);
Display_TEXT.Append(",\t");
Display_TEXT.AppendFormat("{0:N0}", Weekly_ATR);
Display_TEXT.AppendLine();
// MONTHLY
Display_TEXT.Append("Monthly\t:\t");
Display_TEXT.AppendFormat("{0:N0}", Monthly_Pips);
Display_TEXT.Append(",\t");
Display_TEXT.AppendFormat("{0:N0}", Monthly_ATR);
Display_TEXT.AppendLine();
//DISPLAY ON CHART
ChartObjects.DrawText("my001", Display_TEXT.ToString(), my_Position, my_Color);
// ----------------------------------------------------------------------------------------------------------
...
Complete code available on request
Comments
Hi,
I wrote the indicator you have shared long time back... If you want i can make changes to it and the additions you request.
regards,
GoldnOil
Hi. I can do that.
Email: Bienve.pf@hotmail.com
Whatsapp: +34654115547
Telegram: @bienvep
Regards
My Contact Email : skhan.projects@gmail.com (it is there in the code also)