Search found 48 matches

by tonyt
27 Mar 2023
Forum: MultiCharts
Topic: CoT Commitment of Traders Data
Replies: 8
Views: 3474

Re: CoT Commitment of Traders Data

Hi Parker, I am afraid directly accessing the fundamental data TS provides is not possible via code in Multicharts. Besides importing the data into MC manually it might also be possible to exchange the data between TS and MC with custom code (for example via text files, Custom DLLs or Excel). Regar...
by tonyt
22 Jan 2023
Forum: MultiCharts
Topic: Why is only UP Volume counted in this print statement? [SOLVED]
Replies: 4
Views: 644

Re: Why is only UP Volume counted in this print statement? [SOLVED]

Thanks for this TJ. It is a good referral tool.

The second link give me a 404 error ..."https://www.multicharts.com/multicharts ... mentation/"

I solved this issue by adding UpTicks and DownTicks.
by tonyt
22 Jan 2023
Forum: MultiCharts
Topic: Why is only UP Volume counted in this print statement? [SOLVED]
Replies: 4
Views: 644

Why is only UP Volume counted in this print statement? [SOLVED]

Hello Code Gurus,

I am trying to compare the volume of two 60 min bars of @CL (Crude Oil) data is from TS. When I do a print statement to check them, for some reason only the up volume is calculated. How do I get the total volume to be calculated and displayed? Please see screen shots, Thank you!
by tonyt
12 Jan 2023
Forum: MultiCharts
Topic: Adv / Decl Line Indicator
Replies: 1
Views: 386

Adv / Decl Line Indicator

Hello Code Gurus, I am trying to create an ADL indicator that measures the instrument on Data1 against itself with the following code: inputs: period(14); variables: ADL(0), HL(0), CLV(0); HL = (high + low)/2; CLV = ((close - low) - (high - close)) / (high - low) * volume; ADL = ADL[1] + CLV; plot1(...
by tonyt
14 Dec 2022
Forum: MultiCharts
Topic: Version: MultiCharts64 Version 14.0 Release (Build 24200)
Replies: 2
Views: 429

Version: MultiCharts64 Version 14.0 Release (Build 24200)

Has anyone noticed that MC is slower to load since they installed the latest update / Build 24200?
by tonyt
06 Sep 2022
Forum: MultiCharts
Topic: How to calculate the Highest High / Lowest Low for "N' sessions
Replies: 6
Views: 1371

Re: How to calculate the Highest High / Lowest Low for "N' sessions

tonyt, it is better to plot out what you are attempting in an indicator before you write a signal. That way you can make small changes to the code and see the results. Thank you RRams, that's a good point. I didn't anticipate this to be such a challenge. I normally just 'count bars' not sessions wh...
by tonyt
02 Sep 2022
Forum: MultiCharts
Topic: When to define numeric variables with -.999 and .999
Replies: 1
Views: 471

When to define numeric variables with -.999 and .999

Hello code gurus, Can someone please explain why it is necessary or good practice to define variables using -.99999 and .99999 when calling them in a for loop or as trade signals? Please see the following code snipets: Value1=AvgTrueRange(ADRdays); value2=-999999.; end; End; {now add the stops} if m...
by tonyt
01 Sep 2022
Forum: MultiCharts
Topic: How to calculate the Highest High / Lowest Low for "N' sessions
Replies: 6
Views: 1371

Re: How to calculate the Highest High / Lowest Low for "N' sessions

I am not sure what you mean by this one-liner. It can be interpreted in multiple ways. How do I search 'n' number of session for the highest high / lowest low? You need to give a real-life example in step-by-step narration. You need to draw some diagrams/charts, with notes on the picture to point o...
by tonyt
31 Aug 2022
Forum: MultiCharts
Topic: How to calculate the Highest High / Lowest Low for "N' sessions
Replies: 6
Views: 1371

Re: How to calculate the Highest High / Lowest Low for "N' sessions

See posts #1 & #2

viewtopic.php?t=11713
thank you. the post is corrected. Can you please provide some insight?
by tonyt
31 Aug 2022
Forum: MultiCharts
Topic: How to calculate the Highest High / Lowest Low for "N' sessions
Replies: 6
Views: 1371

How to calculate the Highest High / Lowest Low for "N' sessions

How do I search 'n' number of session for the highest high / lowest low? Attached is a screen shot with an example. I need to optimize an input, call it Nsessions, that looks at the highest Session High and Lowest Session Low for a given period, IE up to the maximum allowed by the native OHLC / High...
by tonyt
18 Aug 2022
Forum: MultiCharts
Topic: ICEUS automated trading issue for Coffee with IB and TS different multiplier
Replies: 9
Views: 2640

Re: ICEUS automated trading issue for Coffee with IB and TS different multiplier

Thank you Kate for the prompt reply. This is an obscure issue that I am sure has frustrated many traders. I did the above mentioned and was able to get the prices aligned. In the case of Cocoa, CC, does this need to be don? In other words, are all the ICEUS products 1/100th of the spot price? It doe...
by tonyt
17 Aug 2022
Forum: MultiCharts
Topic: ICEUS automated trading issue for Coffee with IB and TS different multiplier
Replies: 9
Views: 2640

Re: ICEUS automated trading issue for Coffee with IB and TS different multiplier

Hello Barnabas, MultiCharts is rounding the order price based on the chart instrument's price scale. Therefore, to send the orders from TS symbol to IB instrument, your TS symbol price and settings should match IB price format, otherwise the order will be rejected by the broker. This means you need...
by tonyt
16 Aug 2022
Forum: MultiCharts
Topic: Symbol Mapping ICEUS products between TS and IB
Replies: 1
Views: 476

Symbol Mapping ICEUS products between TS and IB

I am having difficulty even knowing where to begin with this issue. I have TS ICEUS data and it is not mapping correctly to IB. The minmove and price scales are identical, see screenshots. When I attempt to trade Coffee or Cocoa systematically, I am entered into trades that are not code / strategy g...
by tonyt
12 Aug 2022
Forum: MultiCharts
Topic: Front Mth Continuous Futures Contract Not Downloading completely
Replies: 1
Views: 480

Front Mth Continuous Futures Contract Not Downloading completely

I am attempting to symbol map the TS data front mth continuous contract for the VIX, currently @VXU22, in MultiCharts and it is not downloading the complete data history. It's patchy for some reason. This continuous contract has better data than @VX from TS in my opinion. In Quote Manager, @VXU22 ha...
by tonyt
20 May 2022
Forum: MultiCharts
Topic: Using SetExitOnClose with Custom Session
Replies: 5
Views: 918

Re: Using SetExitOnClose with Custom Session

Not knowing if you issue is related to this, but there exist a confirmed critical bug in MC, related to SetExitOnClose that makes your orders not always exit at the bar close. Its caused by "caused by unexpected BarStatus value." in MC and its confirmed to be fixed in a "later" release. Just a frie...
by tonyt
20 May 2022
Forum: MultiCharts
Topic: Using SetExitOnClose with Custom Session
Replies: 5
Views: 918

Re: Using SetExitOnClose with Custom Session

wow was not aware of this thanks of the heads up Salzburg. I know people who use is successfully so I will monitor this system.
by tonyt
19 May 2022
Forum: MultiCharts
Topic: Using SetExitOnClose with Custom Session
Replies: 5
Views: 918

Using SetExitOnClose with Custom Session

Hello Code Gurus! I have an an automated strategy that uses SetExitOnClose and a custom session, ending 5 minutes before the close. Chart time frame is 15 min. It works fine in back testing of course but on it's first live trade, it did not exit as expected. The session for Coffee-KC, closes at 13:3...
by tonyt
16 May 2022
Forum: MultiCharts
Topic: trade mismatch between strategy and strategy position [SOLVED]
Replies: 2
Views: 665

trade mismatch between strategy and strategy position [SOLVED]

Hello everyone, I noticed an issue with a live strategy today, on the 1440 min chart. I have been short the JPY front month future for about two days. Interactive Brokers is my broker. For some reason today, I get a weird message about, that 'price does not conform to the minimum price variation for...
by tonyt
19 Apr 2022
Forum: MultiCharts
Topic: Using EntriesToday / TradeToday on short sessions IE Softs / Agro
Replies: 2
Views: 628

Re: Using EntriesToday / TradeToday on short sessions IE Softs / Agro

Hi TJ,

I am referring to sessions that cover two calendar days, for example, Wheat starts at 7PM and ends the Next day at 1:20PM, so it covers two separate calendar days.
by tonyt
18 Apr 2022
Forum: MultiCharts
Topic: Using EntriesToday / TradeToday on short sessions IE Softs / Agro
Replies: 2
Views: 628

Using EntriesToday / TradeToday on short sessions IE Softs / Agro

Hello everyone, I have an issue with limiting trades to once per session for sessions that cross two days, IE Wheat 19:00 - 13:20. I want to limit entries to Once Per Session. How can I accomplish this? EntriesToday and TradesToday goes of the 24hr clock, which is fine for longer sessions. Not so mu...
by tonyt
29 Mar 2022
Forum: MultiCharts
Topic: Tick Value Big Pt Value question for @DX US Dollar Index [SOLVED]
Replies: 2
Views: 589

Re: Tick Value Big Pt Value question for @DX US Dollar Index [SOLVED]

Thank you Kate,

Actually it turned out to be an issue with the Symbol Dictionary. My data provider TS, did not have the DX listed there, so I needed to add it, so I could define the specs and instrument within the Quote Manager, properly. Doing this fixed it.
by tonyt
28 Mar 2022
Forum: MultiCharts
Topic: Tick Value Big Pt Value question for @DX US Dollar Index [SOLVED]
Replies: 2
Views: 589

Tick Value Big Pt Value question for @DX US Dollar Index [SOLVED]

Hello, I am trying to understand why there appears to be a significant discrepancy between the stated values of @DX, the US Dollar Index, and MultiCharts stated values. My understanding is that the Big Point Value for DX is $1000.00, yet MultiCharts has it as $10.00. As you can see from this live tr...
by tonyt
22 Mar 2022
Forum: MultiCharts
Topic: How to get a 'day counter' to reset when a new trade is entered in the same direction as the previous trade
Replies: 1
Views: 3813

How to get a 'day counter' to reset when a new trade is entered in the same direction as the previous trade

Hello everyone, I need to get my 'day counter', that counts the number of days a trade has been open, to reset whenever a new trade is entered. I thought I had it working but it appears that the counter is not resetting properly, and is continuing to 'count' after a trade has been exited. What ends ...
by tonyt
16 Mar 2022
Forum: MultiCharts
Topic: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]
Replies: 4
Views: 992

Re: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]

Actually TJ I think I understand now. It does provide the correct output. The issue was I was incorrectly optimizing it using whole numbers that did not account for the correct # of digits after the decimal.
by tonyt
16 Mar 2022
Forum: MultiCharts
Topic: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]
Replies: 4
Views: 992

Re: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]

go to the wiki look up the keyword PRINT study the usage example pay attention to the explanation of Expression:C:D Thanks TJ, this works beautifully in the Print Output... Now how do I accomplish the same thing in the following calculation? absvalue(Close - SMA) absvalue((close:7:5) - (SMA:7:5)); ...
by tonyt
16 Mar 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

Hmmmm. I tried doing the same on EURUSD and for more reason the signal only reads 2 decimal points, which in turn is why it doesn't get the calculation right. From what I've found this needs to be addressed in the settings for the symbol somehow, but I'm not quite clear on how to do that. I've been...
by tonyt
16 Mar 2022
Forum: MultiCharts
Topic: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]
Replies: 4
Views: 992

Re: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]

go to the wiki

look up the keyword PRINT

study the usage example

pay attention to the explanation of
Expression:C:D
OK, got it, this will also fix the calculation error in the signal/indicator (not just the print output) and the rounding up of the results too I'm guessing. Thanks!
by tonyt
15 Mar 2022
Forum: MultiCharts
Topic: How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]
Replies: 4
Views: 992

How do I calculate the distance in points/ticks from Close to a Moving Average? [SOLVED]

I am attempting to solve for the distance in points / ticks from the current close or Close[1] to a Simple Moving Average. I have tried var: SMA ( 0 ); SMA = AverageFC(Close,10); absvalue(Close - SMA) and I have tried: Value1 = Mod(Close,SMA) * (Num Ticks to BPV, / IE * 4 for e_mini) Both produce ab...
by tonyt
15 Mar 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

Hello, Neither of these formats appears to accomplish what I need, which is to determine the distance in point / ticks between the close and the Moving Average. When I print the output for 'DistFromSMA' for the EUROfx (EC) for example, I get 00.00 and a price of 1.10 for the Close and the same value...
by tonyt
25 Feb 2022
Forum: MultiCharts
Topic: Same code and inputs between MultiCharts and TS, different outputs
Replies: 4
Views: 806

Re: Same code and inputs between MultiCharts and TS, different outputs

GIGO

Your MC data is different.
See the LONG bar at the beginning of the day.
TJ in your experience, what typically causes these data discrepancies? Especially given that the data in both charts is from TS.

Thank you
by tonyt
25 Feb 2022
Forum: MultiCharts
Topic: Same code and inputs between MultiCharts and TS, different outputs
Replies: 4
Views: 806

Re: Same code and inputs between MultiCharts and TS, different outputs

GIGO

Your MC data is different.
See the LONG bar at the beginning of the day.
I see that now thank you! I'll delete the data and cache and see if that helps.
by tonyt
25 Feb 2022
Forum: MultiCharts
Topic: Same code and inputs between MultiCharts and TS, different outputs
Replies: 4
Views: 806

Same code and inputs between MultiCharts and TS, different outputs

Hello, I have the Same CCI Indicator & Function, so far as I can tell, same inputs definitely, yet different outputs / trades between TS, which is live, and Multicharts which is the development desktop. When I compare the code between the functions and indicators, the MultiCharts code appears to be ...
by tonyt
09 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

Wouldn't it be easier to modulate the 2 numbers and multiply it by 4? That's what I do. In your case it would look like: value1 = (Mod (C, SMA)) * 4; Result will be the difference in price between the 2 number and then a multiplication into the tick count. I just set it to value1, you can ofc assig...
by tonyt
07 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

wow thank you Barbo, I did not know that the order of the variables definitions affected the order of their processing, I thought it was just a list so to speak.
by tonyt
07 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

any advice as to how I would make that current in the absvalue(close - TrendSMA) calc?
by tonyt
07 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

thank you, so I am effectively using SMA[1] for the calculation?
by tonyt
07 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

If this is a coding question,
you have to post your code.
Here you go thank you TJ!
by tonyt
07 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Re: Calculate the distance in points from close to moving average [SOLVED]

input: SMALength ( 10 ), TrendGuide ( 233 ), CloseLookBack ( 10 ), ATRLength ( 5 ), StopLong ( 0 ), StopShort ( 0 ), ProfitLong ( 0 ), ProfitShort ( 0 ), minfromSMA ( 1 ), maxfromSMA ( 500 ), //FirstProfX ( 0 ), TradeCut ( 0 ); var: distfromSMA ( 0 ), ATR ( 0 ), MP ( 0 ), DayCount ( 0 ), SLB ( fals...
by tonyt
06 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3030

Calculate the distance in points from close to moving average [SOLVED]

Hello, I am attempting to get an accurate measurement of the distance in points from the current close of a futures value, in this example the e-mini S&P, to a simple moving average. I am using Absvalue(close - SMA) as the calculation. When I print the output, I get a number that is close, but not a...
by tonyt
25 Jan 2022
Forum: MultiCharts
Topic: PL equivalent of [SOLVED]
Replies: 1
Views: 586

PL equivalent of [SOLVED]

if I want to increment a 'trade day' counter at from 0 at the start of every year, how would I best accomplish this? The idea is to count the trading days of the year only. Easy Language has the BarDateTime.Year function so I can write it like this: if bardatetime.year <> bardatetime[1].year then Be...
by tonyt
30 Dec 2021
Forum: MultiCharts
Topic: Error Loading Multicharts 14 onto VPS
Replies: 2
Views: 575

Re: Error Loading Multicharts 14 onto VPS

Great let me check that out thanks
by tonyt
28 Dec 2021
Forum: MultiCharts
Topic: Error Loading Multicharts 14 onto VPS
Replies: 2
Views: 575

Error Loading Multicharts 14 onto VPS

Attempting to install MultiCharts on my Vultr VPS and I get the attached error... 'error downloaing...' a microsoft exe for .NET. Is this due to my internet settings being too strict?

Please advise thank you!
by tonyt
17 Dec 2021
Forum: MultiCharts
Topic: How to dock the Output window? [SOLVED]
Replies: 7
Views: 3130

Re: How to dock the Output window? [SOLVED]

does not work at all
by tonyt
03 Nov 2021
Forum: MultiCharts
Topic: How to dock the Output window? [SOLVED]
Replies: 7
Views: 3130

Re: How to dock the Output window? [SOLVED]

that did not work. Please update on how to dock the output below the code
by tonyt
23 Jun 2021
Forum: MultiCharts
Topic: Volume accutracy with TS data
Replies: 2
Views: 527

Re: Volume accutracy with TS data

Yes we did see that thank you Tammy for resolving this!
by tonyt
17 Jun 2021
Forum: MultiCharts
Topic: Volume accutracy with TS data
Replies: 2
Views: 527

Volume accutracy with TS data

Has anyone else experienced lately a discrepancy between actual and displayed data in MultiCharts? I am using TS data and the volume numbers are way off the actual exchange numbers, verified in both Interactive Brokers and TS. Any ideas as to why? Support email is down, and I am waiting to hear back...

Go to advanced search