Spread Info v 2.0 free

by josefxgijon in category Other at 02/08/2022
Description

Spread Info

·Actualización 1.2: Se añade el Broker con el que trabajamos y se cambia de sitio el spread para que se vea más estético.

·Actualización 2.0: Se añade la opción de que el texto cambie de color cuando el spread sea mayor que el valor indicado.

Este indicador nos muestra información sobre el gráfico en el que nos encontramos, su timeframe, spread y broker. Podemos hacer que el texto cambie su color en modo de alerta para saber facilmente, cuando el spread es mayor de lo que nos gustaría.

-PARAMETROS-

·Ver: "Si" para ver los datos en el gráfico, "No" para no verlo.

·Aviso: "Si" para verlo con la opción de cambio de color, "No" para verlo sin aviso.

·Color: Color del texto.

·Color aviso: Color del texto en el caso de que el spread sea mayor que el limite marcado (limite spread).

·Limite spread: A partir de este número, el texto se pondrá del color seleccionado en "Color aviso".

·Zona horizontal: Lugar en el gráfico en el que aparecerá el texto en el eje x.

·Zona vertical: Lugar en el gráfico en el que aparecerá el texto en el eje y.

Que más te gustaría que aportara este indicador? Déjalo en los comentarios para tenerlo en cuenta cuando lo actualice!

Si le gusta mi trabajo y esfuerzo, considere hacer una amable donación a través de PayPal para ayudarme a crecer y mejorar: DONA

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 cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
using System.Text;

namespace cAlgo
{
    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class Spreadinfov20 : Indicator
    {
        [Parameter("Ver", DefaultValue = true, Group = "Ver")]
        public bool vistaSp { get; set; }
        [Parameter("Aviso", DefaultValue = true, Group = "Ver")]
        public bool _aviso { get; set; }


        [Parameter("Color", DefaultValue = "Black", Group = "Colores")]
        public string _color { get; set; }
        [Parameter("Color aviso", DefaultValue = "Red", Group = "Colores")]
        public string _color2 { get; set; }

        
        [Parameter("Límite spread", Group = "Aviso")]
        public double _limite { get; set; }

        
        [Parameter("Zona horizontal", DefaultValue = HorizontalAlignment.Left, Group = "Zona")]
        public HorizontalAlignment zonaHor { get; set; }
        [Parameter("Zona vertical", DefaultValue = VerticalAlignment.Top, Group = "Zona")]
        public VerticalAlignment zonaVert { get; set; }
        

        StringBuilder tablaInfo;

        public override void Calculate(int index)
        {
            tablaInfo = new StringBuilder();

            if (vistaSp == true && _aviso == true && (Symbol.Spread / Symbol.PipSize) > _limite)
                Informacion2();
            else if (vistaSp == true && _aviso == true && (Symbol.Spread / Symbol.PipSize) < _limite)
                Informacion();
            else if (vistaSp == true && _aviso == false)
                Informacion();
                
        }

        public void Informacion()
        {            
            var spread = (Symbol.Spread / Symbol.PipSize).ToString();
            var info = (Chart.SymbolName + " " + Chart.TimeFrame);

            tablaInfo.Append(Account.BrokerName);
            tablaInfo.AppendLine();
            tablaInfo.Append(info);
            tablaInfo.AppendLine();
            tablaInfo.Append("Spread: " + spread);
            tablaInfo.AppendLine();
            Chart.DrawStaticText(" ", tablaInfo.ToString(), zonaVert, zonaHor, _color);
        }
        
        public void Informacion2()
        {            
            var spread = (Symbol.Spread / Symbol.PipSize).ToString();
            var info = (Chart.SymbolName + " " + Chart.TimeFrame);

            tablaInfo.Append(Account.BrokerName);
            tablaInfo.AppendLine();
            tablaInfo.Append(info);
            tablaInfo.AppendLine();
            tablaInfo.Append("Spread: " + spread);
            tablaInfo.AppendLine();
            Chart.DrawStaticText(" ", tablaInfo.ToString(), zonaVert, zonaHor, _color2);
        }

    }
}
Comments

sila160222 - August 04, 2022 @ 12:54

When the monsters appear, you just need to touch the screen to destroy each one, each time you touch, the money flows out like a stream. And so day by day touching hundreds, thousands of times, hours, days to kill monsters to collect gold. Accumulated gold is used to hire other heroes to help you destroy 'terrible' bosses. As a form of satire for gamers of RPG games, who want to level up quickly, 'terrible' items, high damage but too lazy to train fuck. Clicker Heroes wants to remind them that RPGs are not a place for lazy people. No clear plot, no epic game world, no fighting monsters or uncomplicated 2D shaping are what the publisher seems to want to aim for in Clicker Heroes. It's as simple as a joke and completely addictive.

jennikim266 - August 08, 2022 @ 10:54

Thank you for providing such useful information. I've been having trouble coming up with many questions about this topic. I'll stick with you! rocket bot royale game 

johnhunt1801 - August 10, 2022 @ 09:55

I appreciate you offering this much information. I've been struggling to think of many questions to ask regarding this subject. I'll stand beside you basketball stars

essayhelpzone - August 16, 2022 @ 10:43

Another good case collection is essential, but it is far from the only resource we provide to assist learners with their research. We also provide practical assistance with written tasks of any kind, due to our team of professional essay writers. Understand why our professional essay writing service can assist you!

Start outlining and putting down your thoughts once you've selected a subject that interests you. As you put your ideas into a cohesive narrative, you will need argumentative essay writing help.

dayido1142 - August 17, 2022 @ 13:26

Techies are never bored of using Whatsapp but now are charming the new version of  WhatsApp  . Lets check the new version of  WhatsApp this 2023. It is not possible that you are having a smartphone and you aren’t aware of WhatsApp.As it is the most common chatting & calling app with over 100 million users worldwide. It is a good medium to connect with anyone all over the world. WhatsApp is among those apps we install first on a brand new smartphone because it is a well managed messaging app with a great user interface and fabulous features. (GB WhatsApp) But when it comes to  WhatsApp Plus  there are some restrictions which can be overcome by using WhatsApp Mods ! GBWhatsApp is the most famous WA Mod loved & trusted by millions of users. GBWhatsApp app,  WhatsApp Plus came With most interesting and amazing features, These are the modified version of official whatsapp that comes with extra features, mods, tweaks and much more interesting than before which are necessary for better use. Many whatsapp mods are available online beyond them Whatsapp Plus is always the first choice of users due to its popularity & the exciting features it has. It was launched years ago, but it is still updated monthly by its development team. Most android geeks choose  GBWhatsApp  over official built & all other whatsapp mods as it is also the most trusted & rated mod seeing the downloads & its massive fan following Get the latest version of Whatsapp mods. download GB WhatsApp & Whatsapp Plus APK from mrbass.org.
 

among012a - August 22, 2022 @ 10:09

There are deadly traps and enthralling puzzles in store for you! If you've always wanted to enjoy a real adventure, then you've come to the right place! Take control of two elemental characters, fireboy and watergirl, in these amazing and addictive games.

junealexis001 - September 12, 2022 @ 12:03

Awesome  site i love it keep posting more!   https://fencingsacramentoca.com

linick366 - September 27, 2022 @ 14:41

If you need help with an essay, I would recommend that you contact the Essaybestwriter essay service. The guys are true professionals. Try them and good luck!

0