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 gravdigaz6, Today, 12:05 AM
        0 responses
        1 view
        0 likes
        Last Post gravdigaz6  
        Started by alexstox, 10-16-2018, 03:29 PM
        11 responses
        344 views
        0 likes
        Last Post aligator  
        Started by ageeholdings, 05-01-2024, 05:22 AM
        6 responses
        44 views
        0 likes
        Last Post ageeholdings  
        Started by tony_28217, Yesterday, 07:04 PM
        0 responses
        11 views
        0 likes
        Last Post tony_28217  
        Started by flybuzz, Yesterday, 10:33 AM
        1 response
        9 views
        0 likes
        Last Post flybuzz
        by flybuzz
         
        Working...
        X