Overall Statistics
namespace QuantConnect.Algorithm.CSharp
{

    public class BasicTemplateAlgorithm : QCAlgorithm
    {
       string _sym = "EURUSD";
       
        public override void Initialize()
        {
            SetStartDate(2018, 9, 11);  
            SetEndDate(2018, 9, 11);
            SetCash(20000);  
            
            AddForex(_sym, Resolution.Minute, market: Market.Oanda, fillDataForward:false, leverage: 1M);
            
            Chart price = new Chart(_sym, ChartType.Overlay);
			price.AddSeries(new Series("LOW", SeriesType.Line));
			price.AddSeries(new Series("HIGH", SeriesType.Line));
			price.AddSeries(new Series("STOP", SeriesType.Scatter));
			price.AddSeries(new Series("OPEN", SeriesType.Line));
			price.AddSeries(new Series("PRICE", SeriesType.Line));
            
            Schedule.On(DateRules.On(2018, 9, 11), TimeRules.At(5, 0), () =>
			{
				Log("SpecificTime: Fired at : " + Time);
            	MarketOrder(_sym, 13800, tag: "Entry");
            	StopMarketOrder(_sym, -13800, 1.16M, "Stop Loss");
            	Plot(_sym, "STOP", 1.16M);
			});

        }
        

        public override void OnData(Slice slice)
        {
        	
        	Plot(_sym, "LOW", slice.Bars[_sym].Low);
        	Plot(_sym, "HIGH", slice.Bars[_sym].High);
        	Plot(_sym, "OPEN", slice.Bars[_sym].Open);
        	Plot(_sym, "PRICE", slice.Bars[_sym].Price);

        }
    }
}