Tick Counter that works in Multicharts - MultiCharts | futures io social day trading
futures io futures trading


Tick Counter that works in Multicharts
Updated: Views / Replies:2,066 / 0
Created: by RomanFx Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Tick Counter that works in Multicharts

  #1 (permalink)
Elite Member
Edmonton Alberta Canada
 
Futures Experience: Intermediate
Platform: IRT, MC, NT
Broker/Data: DTN IQ
Favorite Futures: ES, EC
 
Posts: 2 since Mar 2010
Thanks: 2 given, 0 received

Tick Counter that works in Multicharts

Hi guys

hope you can help me I have been looking for tick countdown for MultiCharts that works.
The fancy shmancy tick counter on the MultiCharts ladder is invisible when price is set to invisible, or in my case it seem to be covered by other studies when I needed.

I have tired few different tick counter indicators with same results: when I can compare them with MultiChart tick counter they are off, in some cases they show a negative number. I presume the indicator is counting volume. I can not seem to find an option in "format study" to make the indicator read ticks, instead off volume.

I see people giving thanx; that the indicator is working for them. I am not sure if my platform got up on the wrong side of the bed, or something has changed in coding as some of the forums I got them of off indicated that these indicators may have been made few years back.

All the ones below do not sinc with MC ticks, and turn negative number closer to the end of the bar.

I had some of these indicators working form me in TS, some of them downloaded from random places. Most i had for few years. Please PM me if you need me to delete any of the code.


+++++++++++++++++++++++++++++++++++++++++++


[LegacyColorValue = true];

// TickCountDown WAV 7/31/05
//for TS ver. 8.1 or higher

//be sure you use "Tick Count" for volume
//works for both tick and share charts

input: AlertTicks(10), HOffset(3),
AlertText("tick"),AlertColor(magenta),
NonAlertColor(black);

vars: txt(-1),TicksLeft(0),color(0);

if BarType = 0 then
begin
//initiate the text variable
if BarNumber = 1 then
txt = text_new(date,time,close," ");

TicksLeft = BarInterval - ticks;

if OneAlert(TicksLeft <= AlertTicks) then
alert(NumToStr(TicksLeft,0)+"-"+AlertText+" alert");

//text color changes with alert
if TicksLeft > AlertTicks then
color = NonAlertColor
else
color = AlertColor;

//reset at each tick
text_SetLocation(txt,date,CalcTime(time,HOffset),close);
text_SetString(txt,NumToStr(TicksLeft,0)+" " + AlertText);
text_SetColor(txt,color);
end;




+++++++++++++++Code two+++++++++++++++++++


// ==================================================
// PZT TICK COUNTDOWN Indicator (Version 2.0)
// ==================================================

inputs:
tickThreshold(20),
normalColor(yellow),
thresholdColor(red),
horizOffset(0);

variables:
setPosition( 0 ),
tickReg( 0 ),
txtStr( "" ),
txtID( -1 ),
horizontalLocation(-2),
txtPos( 0 );

if BarType = 0 then begin
setPosition = Close;
if BarNumber = 1 then begin
txtID = text_new(date,time,close,"Start");
if horizontalLocation = 0 then text_SetStyle(txtID,1,2)
else text_SetStyle(txtID,1,2);
text_SetColor(txtID,normalColor);
end;
if time <> time[1] or tickReg <= 0 then begin
tickReg = BarInterval;
if horizontalLocation <= 0 then begin
text_SetStyle(txtID,0,1);
Text_SetLocation( TxtID,Date,Calctime( Time, -horizontalLocation),setPosition ) ;
end
else begin
text_SetStyle(txtID,1,2);
txtPos = setPosition;
text_SetLocation(txtID,date[horizontalLocation],time[horizontalLocation],setPosition);
end;
end;
tickReg = tickReg - ticks;
TxtStr = "< "+NumToStr(tickReg,0);
if tickReg >= 10 then begin
horizontalLocation = -3-horizOffset;
end;
if tickReg >= 100 then begin
horizontalLocation = -4-horizOffset;
end;

text_SetString(txtID,TxtStr);
if horizontalLocation <= 0 then begin
if close < open then begin
text_SetStyle(txtID,1,2);
Text_SetLocation( TxtID,Date,Calctime( Time, -horizontalLocation),setPosition);
end
else begin
text_SetStyle(txtID,1,2);
Text_SetLocation( TxtID,Date,Calctime( Time, -horizontalLocation),setPosition);
end;
end;
if tickReg > tickThreshold then text_SetColor(txtID,normalColor)
else text_SetColor(txtID,thresholdColor);
end;

++++++++++Code 3++++++++++++++++


Input: Offset(1), bDrawClose(false), ClosePriceDigits(2), BarsBeforeClose(5);
input: soundFile("c:\WINDOWS\Media\ding.wav"), soundTrigger(1000);

VAR:
IntrabarPersist Bar_Number( 0 ),
IntrabarPersist Bar_Ticks ( 0 ),
TextID(0),
txt(""), snd_ret(true);

//***** Accumulate Intrabar Ticks *****
Bar_Ticks = Bar_Ticks + 1;

// ***** Reset Tick Count Each Bar *****
if BarNumber <> Bar_Number then
begin
Bar_Number = BarNumber;
Bar_Ticks = 0 ;
end; // reset each bar

value1 = BarInterval - Bar_Ticks;

if BarNumber = 1 then
TextID = Text_New(Date, Time, Close, NumToStr(value1, 0))
else
begin
txt = "< " + NumToStr(value1, 0);
if bDrawClose = true then txt = txt + ", " + NumToStr(close, ClosePriceDigits);
Text_SetString(TextID, txt);
Text_SetLocation(TextID, Date, Time + Offset, Close);
Text_SetStyle(TextID, 0, 2);

if value1 <= BarsBeforeClose then
Text_SetColor(TextID, Green)
else
if value1 < BarInterval/3 then
Text_SetColor(TextID, Yellow)
else
if value1 < 2*BarInterval/3 then
Text_SetColor(TextID, LightGray)
else
Text_SetColor(TextID, DarkGray);

if value1 = soundTrigger and soundFile <> "" then snd_ret = PlaySound(soundFile);
end;



Here are two more tick counters one of them will not even compile. MultiCharts: Trading Software for Automated Trading and Backtesting &bull; View topic - tick counter not working <-- this one does not update or it is hidden behind the price bars or behind price ladder no matter what right margin is set up at.

Any help with the code would be appreciated.

and remeber to vote for Option to always show the tick

Here is pix of the negative value beside tick counter

countdown
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

MultiCharts Project Management - Issue MC-908 - Option to always show the tick countdown

Reply With Quote

Reply



futures io > > > > Tick Counter that works in Multicharts

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Range Counter / Tick Counter / Bar Timer zeller4 NinjaTrader 20 August 10th, 2015 04:01 PM
Multicharts Tick Counter buylosellhi MultiCharts 5 January 19th, 2012 03:42 PM
Tick Counter for BetterLineBreak Bars? Abde NinjaTrader 2 January 18th, 2012 11:26 PM
tick counter on ninjatrader price bar Tom brady NinjaTrader 3 September 13th, 2011 03:43 AM
Session start line and tick counter hoeman NinjaTrader 2 November 18th, 2010 06:48 PM


All times are GMT -4. The time now is 12:48 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-11 in 0.08 seconds with 20 queries on phoenix via your IP 107.20.115.174