Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Bar DataSeries

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    @Monavvr

    They are probably going to move your thread, not sure it's on topic, but:

    1. How to set thick Black Verucal Grid line to Mark a new Day beginning ? Data Series(Button in the toolbar) -> Visual Group-> "Trading hours break line"

    2. distinctive Dark or some other color to distinguish

    Code:
    protected override void OnBarUpdate()
    {[INDENT]// Change color of First Bar of session 
    if(Bars.BarsSinceNewTradingDay == 0 && IsFirstTickOfBar)
    {[/INDENT][INDENT=2]BarBrush = Brushes.Magenta;
    CandleOutlineBrush = Brushes.MintCream;[/INDENT][INDENT]}[/INDENT]
      ........


    3. Indicator(Indicator(Indicator):
    Code:
    int P1 = 5;
    int P2 = 10;
    int P3 = 15;
    double x1 = EMA(TEMA(Inputs[0], P1), P2)[0];
    double x2 = EMA(EMA(TEMA(Inputs[0], P1), P2), P3)[0];
    [I][/I]


    Comment


      #17
      Originally posted by michelm View Post
      @Monavvr

      They are probably going to move your thread, not sure it's on topic, but:

      1. How to set thick Black Verucal Grid line to Mark a new Day beginning ? Data Series(Button in the toolbar) -> Visual Group-> "Trading hours break line"

      2. distinctive Dark or some other color to distinguish

      Code:
      protected override void OnBarUpdate()
      {[INDENT]// Change color of First Bar of session
      if(Bars.BarsSinceNewTradingDay == 0 && IsFirstTickOfBar)
      {[/INDENT][INDENT=2]BarBrush = Brushes.Magenta;
      CandleOutlineBrush = Brushes.MintCream;[/INDENT][INDENT]}[/INDENT]
      ........


      3. Indicator(Indicator(Indicator):
      Code:
      int P1 = 5;
      int P2 = 10;
      int P3 = 15;
      double x1 = EMA(TEMA(Inputs[0], P1), P2)[0];
      double x2 = EMA(EMA(TEMA(Inputs[0], P1), P2), P3)[0];
      [I][/I]

      Thanks a lot Michelm for ur kind support and help. I know I put it at a wrong place but I didnt want to start a new thread and I was not sure where else to put it. Hence out of desperation I just put it here. Thanks again. I feel so grateful.

      Comment


        #18
        Your welcome, I didn't even start this thread, so I kind of stole it too


        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X