Zoom With Mouse Wheel free

by amirbusinesstrade in category Other at 17/08/2022
Description

 

Zoom with Mouse Wheel for Ctrader 

This tool helps you zoom in / out  on the chart with the mouse wheel

be successful and profitable .

 

Copyright reserved for RTG trading group , 2022

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
Language: C#
Trading Platform: cAlgocTrader
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;

namespace cAlgo
{
    [Indicator(IsOverlay =true, AccessRights = AccessRights.None)]
    public class ZoomByMouseWheel : Indicator
    {
      

        protected override void Initialize()
        {
           Chart.MouseWheel += Wheel;
         
           
        }
        
        
        public void Wheel(ChartMouseWheelEventArgs e)
        {
        
        if(e.Delta>0)
        {
        
       
         
        Chart.ZoomLevel =Convert.ToInt32(( Chart.ZoomLevel ) / 0.650);
        
        
        }
        else{
        
         
        Chart.ZoomLevel =Convert.ToInt32(( Chart.ZoomLevel ) * 0.650);
        
        
        }
       
        
        
        
        }

      



        public override void Calculate(int index)
        {
            // Calculate value at specified index
            // Result[index] = 
        }
    }
}
Comments

natasha.evans266 - August 17, 2022 @ 18:31

Waffle game Thank you for providing this information. I am delighted to come on this fantastic article.

xiao-linlong - August 21, 2022 @ 08:39

The mouse has two scroll wheels, now the system itself can use the front of the mouse wheel to control the left and right movement, if the development of a function to let the left side of the mouse wheel used to control the zoom in and out would be good. Thanks.

among012a - August 22, 2022 @ 10:07

Many people have expressed interest in this special game. scribble io is a terrific method for you and your pals to pass the time with its unique game experience and innovative game atmosphere.

peterparkerrbu - August 26, 2022 @ 07:54

Hence while hiring any best essay writing service word search provider 

otis.schamberger89 - August 26, 2022 @ 09:45

BTW, I appreciate your assistance so much; I can finally get some work done while lounging in my new gaming chair. basketbros

seoimran778 - August 27, 2022 @ 10:54

This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck. Karaoke Equipment

junealexis001 - September 12, 2022 @ 12:02

Interesting  site i love it keep posting more!   https://paintinghighlandsranchco.com

quanghieucorp - November 03, 2022 @ 04:03

If you are weak in programming knowledge or are inexperienced, this site is a place for you to overcome these problems. I was surprised that your website has a lot of articles about programming. Those are great articles. wordle nyt - wordle

0