| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Tick Counter for Multicharts? the countdown moves from out of view on the far right hand side of the chart, and inches closer and closer to the actual candle with every tick, then gets there and gets kicked out again to the point where you can't see it. Does anyone know of a workaround or fix for this to make it behave like in TS where it just stays a space away from the current bar on the chart? I've attached a small 0:43 .avi file of a chart showing the behavior. Thanks for your help!!! | ||
| |
|
| | #2 | ||
![]() | Re: Tick Counter for Multicharts? It would work I suppose. I just wish I could get the standard code to work. If you all have any ideas or suggestions I'd appreciate it. Otherwise, thanks Tams as always for giving us the tools to fix some of our problems on our own. | ||
| |
|
| The Following User Says Thank You to daedalus For This Useful Post: | ||
Tams (06-20-2009) | ||
| | #3 | ||
![]() | Re: Tick Counter for Multicharts? Code:
inputs:
HOffset (2),
VOffset (2),
AlertLevel (50),
TextColor (White),
AlertColor(yellow);
vars:
txt (0),
str (" "),
Count (0),
CountTotal(0),
price (0);
price = close; // price at which the text will be printed
if BarStatus(1) = 0 then //opening tick of each new bar ...so reset params to Zero
begin
count = 0;
CountTotal = 0;
str = " ";
end;
count = upticks + downticks; // total the volume during the bar
CountTotal = BarInterval - count; // Subtract the volume from the Bar Interval Total
str = " "+numtostr(CountTotal,0); // Convert the remaining count to text
if Barnumber = 1 then // First bar print the number text
begin
txt = text_new(date,Calctime( Time, HOffset),close ,str);
text_SetStyle(txt,0,VOffset);
text_SetColor(txt,TextColor);
end else begin // 'move' the number to the right, update it, instead of delete and redraw. Mo' efficient.
text_SetString(txt,str);
text_SetColor(txt,TextColor);
text_SetLocation_s(txt,date,time_s, (h+l)/2);
end;
{//see if time for alert
if CountTotal <= AlertLevel then
begin
text_SetColor(txt,AlertColor);
alert("Less than " + numtostr(AlertLevel,0)+" Shares Remaining !");
end; } | ||
| |
|
| The Following 2 Users Say Thank You to insideday For This Useful Post: | ||
daedalus (06-20-2009), simterann22 (11-11-2011) | ||
| | #4 | ||
![]() | Re: Tick Counter for Multicharts? Thanks man! | ||
| |
|
| | #5 | ||
![]() | Re: Tick Counter for Multicharts? Quote:
if you are using MC, you can connect to InteractiveBroker's demo system. It streams day-old data for testing purposes. | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
daedalus (06-20-2009) | ||
| | #6 | ||
![]() | Re: Tick Counter for Multicharts? Quote:
I am not giving away anything free; it still requires sweat. I am can only help people who want to help themselves. ;-) | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
daedalus (06-20-2009) | ||
![]() |
| Tags |
| countdown, timer |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trading with Market Statistics VIII. Counter Trend Trades in Symmetric Distributions | jperl | Market Profile | 48 | 04-11-2011 03:02 PM |
| Connecting OEC to MultiCharts | spyro | Open E Cry | 13 | 12-08-2009 03:58 AM |
| Help Converting EFS to MultiCharts | rdkyote | Coding Forum | 3 | 11-03-2008 09:41 AM |
| Tick Counter for Tradestation | dow(n) | Coding Forum | 2 | 02-16-2008 04:17 PM |
| Multicharts | ptop | Beginners Forum | 8 | 11-04-2007 05:38 AM |