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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        89 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        31 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        69 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X