Search found 7345 matches

by TJ
01 Jul 2020
Forum: MultiCharts
Topic: inaccurate entries/exits [SOLVED]
Replies: 7
Views: 131

Re: inaccurate entries/exits [SOLVED]

What is your chart resolution?
by TJ
01 Jul 2020
Forum: MultiCharts
Topic: IB data is too slow !!!
Replies: 2
Views: 113

Re: IB data is too slow !!!

It take more than 4 hours to open a 2-years 1 min bar chart! The refilling of data need more than 4 hours! I didn't expect such a turtle like speed. My board-band speed is 1000MB. Is it normal? IB is not a dataprovider. IB is a broker. IB provides quotes for trading purposes. If you are not a heavy...
by TJ
29 Jun 2020
Forum: MultiCharts
Topic: Interactive Brokers
Replies: 6
Views: 243

Re: Interactive Brokers

You have to pay to get data.
by TJ
29 Jun 2020
Forum: MultiCharts
Topic: position recovery/take profit [SOLVED]
Replies: 3
Views: 93

Re: position recovery/take profit [SOLVED]

>>it closes potion in a bigger loss (from -80 to -140...).

This could be caused by a lot of reasons.

eg.
fast market
you did not set IOG
coding logic
etc.,
by TJ
29 Jun 2020
Forum: MultiCharts
Topic: position recovery/take profit [SOLVED]
Replies: 3
Views: 93

Re: position recovery/take profit [SOLVED]

Look up the keyword

SELLSHORT
by TJ
28 Jun 2020
Forum: MultiCharts
Topic: Interactive Brokers
Replies: 6
Views: 243

Re: Interactive Brokers

You have to install either
1. the TWS Trader Work Station, or
2. the gateway.
by TJ
28 Jun 2020
Forum: MultiCharts
Topic: Spontaneous corruption of database MC12
Replies: 11
Views: 614

Re: Spontaneous corruption of database MC12

Have you checked the scaling? . . . Make sure it is attached to the dataseries.
by TJ
24 Jun 2020
Forum: MultiCharts
Topic: tick resolution causing Floating point error [SOLVED]
Replies: 16
Views: 321

Re: tick resolution causing Floating point error [SOLVED]

This is an EasyLanguage legacy problem . . .

You see, in EasyLanguage, VOLUME returns ticks,
and TICKS returns volume.

If you had used the keyword TICKS, you would not have encountered the problem.

Code: Select all

Rec_V = Rec_V + TICKS;
by TJ
24 Jun 2020
Forum: MultiCharts
Topic: tick resolution causing Floating point error [SOLVED]
Replies: 16
Views: 321

Re: tick resolution causing Floating point error [SOLVED]

First step:

go through the code and find all the division operations.
by TJ
22 Jun 2020
Forum: MultiCharts
Topic: tick resolution causing Floating point error [SOLVED]
Replies: 16
Views: 321

Re: tick resolution causing Floating point error [SOLVED]

Please post a screenshot of the error message.
by TJ
21 Jun 2020
Forum: MultiCharts
Topic: Platform crash when Volume Profile Used [SOLVED]
Replies: 5
Views: 198

Re: Platform crash when Volume Profile Used [SOLVED]

Hello Dear Sirs.

I am still waiting for your support about this.

Thx.

You can use Live Chat to show techsupport this problem.
They can sort it out for you on the spot.
by TJ
18 Jun 2020
Forum: MultiCharts
Topic: How to increase/decrease shares ?
Replies: 3
Views: 139

Re: How to increase/decrease shares ?

Dearl all, i'm facing a very strange issue, why the following does not work: LOT = LOT +1; buy ("buy adjustment") LOT contracts next bar at open; MC open the first contract but does not increase the position. There's a way to do that ? Thank you !! No Erocla Your description is not very clear: 1. M...
by TJ
16 Jun 2020
Forum: MultiCharts
Topic: Platform crash when Volume Profile Used [SOLVED]
Replies: 5
Views: 198

Re: Platform crash when Volume Profile Used [SOLVED]

The following information might be needed by the tech support:

1. MultiCharts version and release number
2. Windows version
3. Hardware - CPU, RAM,
4. Other programs running - Anti-virus, etc.,
5. Data - does your ASCII include tick data with time-stamp?
by TJ
13 Jun 2020
Forum: MultiCharts
Topic: "Staging" orders for predicted signal
Replies: 5
Views: 194

Re: "Staging" orders for predicted signal

You can start here:

Post #6. Developing Your Strategy
viewtopic.php?t=11713
by TJ
12 Jun 2020
Forum: MultiCharts
Topic: "Staging" orders for predicted signal
Replies: 5
Views: 194

Re: "Staging" orders for predicted signal

You can try a price projection.

Image
by TJ
12 Jun 2020
Forum: MultiCharts
Topic: Reference an ASCII Symbol on PowerLanguage [SOLVED]
Replies: 2
Views: 167

Re: Reference an ASCII Symbol on PowerLanguage [SOLVED]

I am not sure what you are asking for . . .

This might help:

Go to the Wiki,
go to
Section 8 PowerLanguage Keyword Reference

Look under
Data Information/General‎ (77 P)

Read up on:
GetRTSymbolName
GetSymbolName
by TJ
12 Jun 2020
Forum: MultiCharts
Topic: Easy Language: Indicator call series function failed.
Replies: 3
Views: 159

Re: Easy Language: Indicator call series function failed.

Why are you not assigning the lowest function to a variable?
by TJ
11 Jun 2020
Forum: MultiCharts
Topic: Extract XML file from Easylanguage
Replies: 3
Views: 157

Re: Extract XML file from Easylanguage

Not sure what you are asking . . .
by TJ
11 Jun 2020
Forum: MultiCharts
Topic: MQ4 to multicharts
Replies: 2
Views: 165

Re: MQ4 to multicharts

I am not aware of any automatic conversion program.

You pretty well have to re-write the code from scratch.

What kind of indicators are these?
If they are popular ones (ie not custom made), you might find a conversion already exists on the web.
by TJ
10 Jun 2020
Forum: MultiCharts
Topic: Plotting an Indicator on a Mean Renko chart , based upon larger Mean Renko bars
Replies: 1
Views: 150

Re: Plotting an Indicator on a Mean Renko chart , based upon larger Mean Renko bars

. . . it would help if you can draw a diagram (with notes explaining your vision).
After all, you are interested in a solution from a visual chart, it only makes sense that you convey your idea through a diagram.
by TJ
08 Jun 2020
Forum: MultiCharts
Topic: Abbreviate currency units
Replies: 1
Views: 119

Re: Abbreviate currency units

You can declare an input, but it must begin with an non-number:

Code: Select all

Input: M1 ( 1000000 ), _1m ( 1000000 );
by TJ
03 Jun 2020
Forum: MultiCharts
Topic: Is it possible for one strategy place orders for 2 symbols?
Replies: 3
Views: 141

Re: Is it possible for one strategy place orders for 2 symbols?

You can start here:
[FAQ] Portfolio Trader / Portfolio Backtester
viewtopic.php?t=47045
by TJ
02 Jun 2020
Forum: MultiCharts
Topic: Is it possible for one strategy place orders for 2 symbols?
Replies: 3
Views: 141

Re: Is it possible for one strategy place orders for 2 symbols?

You should look into the Portfolio Trader.
by TJ
25 May 2020
Forum: MultiCharts
Topic: Historical data and Multicharts [SOLVED]
Replies: 11
Views: 441

Re: Historical data and Multicharts [SOLVED]

. . . Sorry, maybe I was unclear in the request. I need (above all) the futures 1 minute and 1 day. . . You still have NOT specified what you need. "Futures" is a very very very large domain. There are agriculture, financials, metals, forex . . . What are the specific symbols you need? Don't tell m...
by TJ
25 May 2020
Forum: MultiCharts
Topic: Historical data and Multicharts [SOLVED]
Replies: 11
Views: 441

Re: Historical data and Multicharts [SOLVED]

. . . I'm interested (for the moment) in viewing the main index, exchange and commodity data. resolution: 1 day and 15 minuets Thanks Paolo The data comes in three formats: Daily 1 minute tick When you create a 15-min chart, MultiCharts will take your 1-min data and create a 15-min chart for you. O...
by TJ
25 May 2020
Forum: MultiCharts
Topic: Historical data and Multicharts [SOLVED]
Replies: 11
Views: 441

Re: Historical data and Multicharts [SOLVED]

Good evening, I am writing here because I have not yet managed to obtain the data I am looking for. I discovered some services that offer data (even for free), but none of this offers futures data. Could any of you help me? Thanks so much. :-) You have not specified what exact data you are not able...
by TJ
22 May 2020
Forum: MultiCharts
Topic: Does using separate functions slow down code? [SOLVED]
Replies: 2
Views: 250

Re: Does using separate functions slow down code? [SOLVED]

If I were to allocate parts of my strategy code to functions, would that slow down the calculation time? Let's say it's a pretty simple strategy and you move parts of the code to functions with all things pretty much being equal, what percent effect would this have on speed? No, it won't slow down ...
by TJ
21 May 2020
Forum: MultiCharts
Topic: New Database location vs Windows administrativee priviledge
Replies: 1
Views: 120

Re: New Database location vs Windows administrativee priviledge

This is a Windows message.
Windows 10 security is a pain. But I guess it is for your safety.

You need to log in as Windows Administrator.
by TJ
20 May 2020
Forum: MultiCharts
Topic: Newb question [SOLVED]
Replies: 6
Views: 245

Re: Newb question [SOLVED]

When you compile a study, MultiCharts would parse the codes and collect all the declarations.
The variables are initialized at compilation, not when you run the indicator.
by TJ
15 May 2020
Forum: MultiCharts
Topic: Simulate MOO (Market on Open) / OPG Market Order
Replies: 7
Views: 217

Re: Simulate MOO (Market on Open) / OPG Market Order

. . . Dear TJ! Is there any chance to include such type of order into To-Do list for the next software builds at least for automated trading? I see that it could be easily released using TWS API: http://interactivebrokers.github.io/tws-api/basic_orders.html - Market On Open I'm sure it is also avai...
by TJ
14 May 2020
Forum: MultiCharts
Topic: Simulate MOO (Market on Open) / OPG Market Order
Replies: 7
Views: 217

Re: Simulate MOO (Market on Open) / OPG Market Order

eg.

if you are using a 5 min chart, and the instrument opens at 9:30 am
You can set the session time to start at 9:25 am,
then your strategy can buy/sell market at next bar.
by TJ
14 May 2020
Forum: MultiCharts
Topic: Simulate MOO (Market on Open) / OPG Market Order
Replies: 7
Views: 217

Re: Simulate MOO (Market on Open) / OPG Market Order

A workaround:

Set the session time one bar early.
by TJ
13 May 2020
Forum: MultiCharts
Topic: Faster optimization speed question and a thought
Replies: 4
Views: 206

Re: Faster optimization speed question and a thought

My understanding is, the function is a "human" short cut. When MC compiles the indicator, the function code is inserted back into the script wherever it appears. However, all is not lost. Good coding practice can speed up the execution. For example: If H < average( C, 20 ) then . . . If L > average(...
by TJ
13 May 2020
Forum: MultiCharts
Topic: Faster optimization speed question and a thought
Replies: 4
Views: 206

Re: Faster optimization speed question and a thought

Hello,
. . .
This FAQ thread is awesome...viewtopic.php?t=10811
. . .
I am glad you find it useful. 8)

Good trading to you.
by TJ
12 May 2020
Forum: MultiCharts
Topic: Historical data and Multicharts [SOLVED]
Replies: 11
Views: 441

Re: Historical data and Multicharts [SOLVED]

What kind of instrument are you testing?
What kind of resolution? tick data? minutes? or daily?

You can import whatever data you already have into MultiCharts.
by TJ
10 May 2020
Forum: MultiCharts
Topic: Caching IB historical data
Replies: 7
Views: 279

Re: Caching IB historical data

When you exit MultiCharts at the end of the day, MultiCharts would save the data to your computer's harddisk. This process might take a minute or two. Make sure you do not shut down the computer immediately. Open your TaskManager, make sure all the MultiCharts processes are completed (ie no longer o...
by TJ
09 May 2020
Forum: MultiCharts
Topic: Execute only once while condition is present [SOLVED]
Replies: 5
Views: 195

Re: Execute only once while condition is present [SOLVED]

They should produce the same result. No advantage to either.
by TJ
09 May 2020
Forum: MultiCharts
Topic: Execute only once while condition is present [SOLVED]
Replies: 5
Views: 195

Re: Execute only once while condition is present [SOLVED]

Another way to code this logic:

Code: Select all

If RSI > 70 and RSI [1] <= 70 then . . .
by TJ
08 May 2020
Forum: MultiCharts
Topic: Execute only once while condition is present [SOLVED]
Replies: 5
Views: 195

Re: Execute only once while condition is present [SOLVED]

What you should be looking for is the first instance of RSI crossing into 70+.
by TJ
07 May 2020
Forum: MultiCharts
Topic: i got gpu and cpu concern for MC
Replies: 3
Views: 261

Re: i got gpu and cpu concern for MC

Higher clock speed is preferred over more threads.
16 GB RAM minimum
by TJ
06 May 2020
Forum: MultiCharts
Topic: i got gpu and cpu concern for MC
Replies: 3
Views: 261

Re: i got gpu and cpu concern for MC

MultiCharts does not use game-style 3D graphics, a high-performance gpu is not needed.
by TJ
04 May 2020
Forum: MultiCharts
Topic: Volume Discrepancies.. [SOLVED]
Replies: 5
Views: 304

Re: Volume Discrepancies.. [SOLVED]

Thanks TJ. I've read both references and I understand that there are different means of representing volume based on how "build Volume On" is being set. Ultimately, I ended up embedding the logic from the Volume indicator itself and that gave me the accurate output. Thanks. I am glad you have it wo...
by TJ
04 May 2020
Forum: MultiCharts
Topic: Gmail E-mail alerts down? [SOLVED]
Replies: 3
Views: 199

Re: Gmail E-mail alerts down? [SOLVED]

Hi, All my gmail alerts sent form MC are all failing to send. Anyone else seeing this or has a solution? Thanks, Will It depends on the point of failure. If your internet is down, or if your email server is down, then MC would not be able to send out emails. If your MC email has worked before, it i...
by TJ
27 Apr 2020
Forum: MultiCharts
Topic: Volume Discrepancies.. [SOLVED]
Replies: 5
Views: 304

Re: Volume Discrepancies.. [SOLVED]

Go to the Wiki

Go to the section
8 PowerLanguage Keyword Reference

Look under
Data Information/General‎ (77 P)

Read up on the definition and usage examples of
TICKS
VOLUME
by TJ
27 Apr 2020
Forum: MultiCharts
Topic: Volume Discrepancies.. [SOLVED]
Replies: 5
Views: 304

Re: Volume Discrepancies.. [SOLVED]

See posts #1 & #2
viewtopic.php?t=11713
by TJ
24 Apr 2020
Forum: MultiCharts
Topic: Daten Feed Aktien
Replies: 5
Views: 222

Re: Daten Feed Aktien

MultiCharts
Supported Data Feeds
https://www.multicharts.com/features/data-feeds/
by TJ
21 Apr 2020
Forum: MultiCharts
Topic: Daten Feed
Replies: 7
Views: 279

Re: Daten Feed

I am a light user. I do not need a lot of data.
by TJ
21 Apr 2020
Forum: MultiCharts
Topic: Daten Feed
Replies: 7
Views: 279

Re: Daten Feed

with IB I have the problem that the data is not loaded (error message )I always get dropouts that I load too much data That's right, IB is not a real dataprovider. It is only good for light users. You can pay extra to get more data. How many symbols do you follow? How often do you retrieve the data...
by TJ
21 Apr 2020
Forum: MultiCharts
Topic: Daten Feed
Replies: 7
Views: 279

Re: Daten Feed

Interactive Brokers has a cheap feed, but only good for light users because it is a broker, not a read dataprovider.
by TJ
21 Apr 2020
Forum: MultiCharts
Topic: Daten Feed
Replies: 7
Views: 279

Re: Daten Feed

Do you need real-time feed?

Most stock traders use EOD data.

How about delayed data (5 or 15 min delay)? They are cheaper.
by TJ
20 Apr 2020
Forum: MultiCharts
Topic: Tips when switching from TS to MC+IB?
Replies: 2
Views: 198

Re: Tips when switching from TS to MC+IB?

You can open a papertrading acct with IB. It is free, it uses real data, and it mirrors your cash acct privileges. You should test your system before going live.

Good luck and good trading to you.
by TJ
17 Apr 2020
Forum: MultiCharts
Topic: Where to buy historical tick data
Replies: 6
Views: 368

Re: Where to buy historical tick data

Have you checked the exchange's website?
by TJ
16 Apr 2020
Forum: MultiCharts
Topic: multi data strategy [SOLVED]
Replies: 2
Views: 265

Re: multi data strategy [SOLVED]

See post #5
Data2
viewtopic.php?t=6929
by TJ
15 Apr 2020
Forum: MultiCharts
Topic: multi data strategy [SOLVED]
Replies: 2
Views: 265

Re: multi data strategy [SOLVED]

See posts #1 & #2
viewtopic.php?t=11713
by TJ
06 Apr 2020
Forum: MultiCharts
Topic: Avoiding multiple entries.
Replies: 5
Views: 458

Re: Avoiding multiple entries.

Please post your codes.
by TJ
28 Mar 2020
Forum: MultiCharts
Topic: OpenD, CloseD etc fetching wrong values [SOLVED]
Replies: 12
Views: 539

Re: OpenD, CloseD etc fetching wrong values [SOLVED]

You can try this:

Code: Select all

if time = 0915 then begin openv=Open; pass=true; end;
by TJ
28 Mar 2020
Forum: MultiCharts
Topic: problem with ADE ListS.COunt
Replies: 3
Views: 355

Re: problem with ADE ListS.COunt

Try counting from zero.
by TJ
28 Mar 2020
Forum: MultiCharts
Topic: OpenD, CloseD etc fetching wrong values [SOLVED]
Replies: 12
Views: 539

Re: OpenD, CloseD etc fetching wrong values [SOLVED]

What is your session time?
by TJ
23 Mar 2020
Forum: MultiCharts
Topic: Close at end of day (again, I know) [SOLVED]
Replies: 12
Views: 669

Re: Close at end of day (again, I know) [SOLVED]

I think you have got the idea.

see Post #5
viewtopic.php?t=6929
by TJ
23 Mar 2020
Forum: MultiCharts
Topic: Close at end of day (again, I know) [SOLVED]
Replies: 12
Views: 669

Re: Close at end of day (again, I know) [SOLVED]

You can only trade from Data1.
That's why you always put the fastest fractal on data1.

You can use any data series to trigger your analysis.
by TJ
23 Mar 2020
Forum: MultiCharts
Topic: Close at end of day (again, I know) [SOLVED]
Replies: 12
Views: 669

Re: Close at end of day (again, I know) [SOLVED]

Yes, use multi-data, that's how you control the timing.

You need to put the fastest fractal as data1.

see post #18
viewtopic.php?t=10811
by TJ
23 Mar 2020
Forum: MultiCharts
Topic: Close at end of day (again, I know) [SOLVED]
Replies: 12
Views: 669

Re: Close at end of day (again, I know) [SOLVED]

You can use this code:

Code: Select all

Begin sell ("EOD_LX") Next Bar at Market; buytocover("EOD_SX") Next Bar at Market; End;

ps. Many brokers suggest you should allow 3 min for end of day orders.
by TJ
22 Mar 2020
Forum: MultiCharts
Topic: Unable to chart IB symbols [SOLVED]
Replies: 3
Views: 290

Re: Unable to chart IB symbols [SOLVED]

What symbols you have problem charting?
by TJ
12 Mar 2020
Forum: MultiCharts
Topic: Automating and Backtesting w Kase Bars
Replies: 8
Views: 550

Re: Automating and Backtesting w Kase Bars

This is my personal observation, YMMV:

Due to the nature of the variable and temperamental beast, it is difficult to implement autotrading on non-time-based bars.

Again, YMMV.
by TJ
05 Mar 2020
Forum: MultiCharts
Topic: Painting wick and body not properly done
Replies: 4
Views: 382

Re: Painting wick and body not properly done

Instead of using PlotPB, it would be easier to set out each individual plots separately. ie: Plot1( O, "Open", color, default, LineWidth ); Plot2( H, "High", color, default, LineWidth ); Plot3( L, "Low", color, default, LineWidth ); Plot4( C, "Close", color, default, LineWidth ); It might seem tedio...
by TJ
29 Feb 2020
Forum: MultiCharts
Topic: MultiCharts on Linux/WINE
Replies: 3
Views: 1812

Re: MultiCharts on Linux/WINE

by TJ
29 Feb 2020
Forum: MultiCharts
Topic: Output bar disappeared [SOLVED]
Replies: 5
Views: 327

Re: Output bar disappeared [SOLVED]

The sub-window is there. You just need to expose it.

Point your mouse to the red line and push; you will see it.


Image
by TJ
29 Feb 2020
Forum: MultiCharts
Topic: problem with "this bar at my_level" [SOLVED]
Replies: 2
Views: 318

Re: problem with "this bar at my_level" [SOLVED]

Look up IntraBarOrderGeneration. (often referred to as IOG)



ps. No question is trivial. If everyone is an expert, there will be no need for this forum.
by TJ
29 Feb 2020
Forum: MultiCharts
Topic: Output bar disappeared [SOLVED]
Replies: 5
Views: 327

Re: Output bar disappeared [SOLVED]

Look under the "View" tab.

Image
by TJ
27 Feb 2020
Forum: MultiCharts
Topic: When Interactive Brokers hangs, MC leak slowly eats up all memory
Replies: 14
Views: 1261

Re: When Interactive Brokers hangs, MC leak slowly eats up all memory

When it happened over night, I tried the "send minidump" from the error dialog panel. In addition this is the dialog that comes up noting that it has gotten confused about the IB TWS process going away. The tsserver.exe process rises slowly to > 4GB. The TWS version in 978.1h The MC version is Mult...
by TJ
21 Feb 2020
Forum: MultiCharts
Topic: Strategy Errors
Replies: 5
Views: 348

Re: Strategy Errors

1. Make sure you have data in your computer. When you open a chart, MC would first see if you have the quotes in your computer's database. If not, then it will request a download from your provider. Every time you close down MC, MC would save the quotes to your computer. This might take a minute or ...
by TJ
20 Feb 2020
Forum: MultiCharts
Topic: Horizontal Trend Line for Session Time [SOLVED]
Replies: 7
Views: 486

Re: Horizontal Trend Line for Session Time [SOLVED]

Go to the Wiki,
See : 8 PowerLanguage Keyword Reference
Look under : Sessions‎ (18 P)

You can choose one of the session times that fits your application.
Or, you can hard code the time into your script.
by TJ
19 Feb 2020
Forum: MultiCharts
Topic: Horizontal Trend Line for Session Time [SOLVED]
Replies: 7
Views: 486

Re: Horizontal Trend Line for Session Time [SOLVED]

Try this: var: HorLine(-1); If TIME = SessionStartTime(1,1) then begin TL.price = H; HorLine = TL_New( date, time, TL.price, date, time, TL.price); TL_SetColor ( HorLine, LineColor); TL_setsize ( HorLine, LineSize); TL_Setstyle ( HorLine, LineStyle); TL_SetExtRight ( HorLine, true); end; If TIME = S...
by TJ
19 Feb 2020
Forum: MultiCharts
Topic: last bar day
Replies: 6
Views: 357

Re: last bar day

Go to the Wiki,
See : 8 PowerLanguage Keyword Reference
Look under : Sessions‎ (18 P)
by TJ
19 Feb 2020
Forum: MultiCharts
Topic: last bar day
Replies: 6
Views: 357

Re: last bar day

Try this:

Code: Select all

if TIME = SessionEndTime then . . .
by TJ
19 Feb 2020
Forum: MultiCharts
Topic: [Feature Request] Chart window style
Replies: 7
Views: 496

Re: [Feature Request] Chart window style

This has nothing to do with MultiCharts.

You can configure the look in your Windows setting.
by TJ
19 Feb 2020
Forum: MultiCharts
Topic: last bar day
Replies: 6
Views: 357

Re: last bar day

Try this:

Code: Select all

if TIME = 2200 then begin
by TJ
07 Feb 2020
Forum: MultiCharts
Topic: Wick on FlexRenko appearing after bar close [SOLVED]
Replies: 7
Views: 745

Re: Wick on FlexRenko appearing after bar close [SOLVED]

Do you have a screenshot? or diagram?
by TJ
31 Jan 2020
Forum: MultiCharts
Topic: Incorrect bar in MC 12 [SOLVED]
Replies: 17
Views: 1067

Re: Incorrect bar in MC 12 [SOLVED]

You need to write notes on the picture to explain/illustrate the problem. The charts by themselves do not tell anything.
by TJ
30 Jan 2020
Forum: MultiCharts
Topic: First ventures into autotrading [SOLVED]
Replies: 4
Views: 298

Re: First ventures into autotrading [SOLVED]

Here are the basics of auto-trading:

1. Your trading logics are evaluated at EOB, and the trading decisions are made for the next bar.
1a. except, if IOG is enabled, then the logic will be evaluated every tick, and the trading decision is made for the next tick.
by TJ
30 Jan 2020
Forum: MultiCharts
Topic: First ventures into autotrading [SOLVED]
Replies: 4
Views: 298

Re: First ventures into autotrading [SOLVED]

//This works but will it wait for the next bar or execute immediately? //I am using 1 second bars. I guess I could put the code on 30 minute bars and see if it works immediately. If you are using a 1-sec chart, you should just use market-order. Because the time flies so quickly, your order will be ...
by TJ
30 Jan 2020
Forum: MultiCharts
Topic: First ventures into autotrading [SOLVED]
Replies: 4
Views: 298

Re: First ventures into autotrading [SOLVED]

See post #7
7) This Bar on Close
viewtopic.php?t=10811
by TJ
27 Jan 2020
Forum: MultiCharts
Topic: help code - different behavior from backtest
Replies: 4
Views: 408

Re: help code - different behavior from backtest

As a practice, you should always use the fastest resolution as data1.

For more assistance, see post #18
[FAQ] Multiple Time Frame, Multi-Data Analysis
viewtopic.php?t=10811
by TJ
23 Jan 2020
Forum: MultiCharts
Topic: Question about when to roll equity futures in NQ and ES
Replies: 1
Views: 176

Re: Question about when to roll equity futures in NQ and ES

Here are some of the criteria people use:

1. Roll when the new contract volume exceeded the old contract volume
2. Roll on the Thursday the week before expiration
3. Roll after expiration
4. Roll on the day before expiration
by TJ
06 Jan 2020
Forum: MultiCharts
Topic: cancel order if condition on this bar is true
Replies: 4
Views: 496

Re: cancel order if condition on this bar is true

Let's start with some logic basics: Let's look at "Now". We are at the current bar. When performing an analysis, we can only be at the current bar. When performing an analysis, we can only compare the current situation with what has happened in the past. Anything in the future is not analysis , it i...
by TJ
06 Jan 2020
Forum: MultiCharts
Topic: cancel order if condition on this bar is true
Replies: 4
Views: 496

Re: cancel order if condition on this bar is true

First, there is no such thing as a "Simple" idea. Your description is muddy. You have a complex idea, with multiple conditions. (If-then-else). You need to rewrite your logic in step-by-step instructions. Because the computer can only do one thing at a time, and you need to write out your logic in a...
by TJ
30 Dec 2019
Forum: MultiCharts
Topic: Buy stop and Sell stop order in next bar
Replies: 6
Views: 484

Re: Buy stop and Sell stop order in next bar

Let me elaborate more the logic. When current bar close, I want to set next bar to buy if price > current bar high and set stop lose to current bar low. Let's begin with some trading strategy design basics. The evaluation of your logic happens in the current bar. You can ONLY compare the current si...
by TJ
30 Dec 2019
Forum: MultiCharts
Topic: Buy stop and Sell stop order in next bar
Replies: 6
Views: 484

Re: Buy stop and Sell stop order in next bar

. . . I cannot use this bar to check exceed the high of last bar.
Why not?

Do you know the "High of this bar" before the bar is finished?
by TJ
29 Dec 2019
Forum: MultiCharts
Topic: Buy stop and Sell stop order in next bar
Replies: 6
Views: 484

Re: Buy stop and Sell stop order in next bar

Refer to my below code, when reach high or low in next bar, then will place buy or sell order respectively. However, I want to buy only when reach high in next bar. Once order placed, I want to set stop loss when reach low, but not to place sell order even marketposition is 0, how to revise my code...
by TJ
23 Dec 2019
Forum: MultiCharts
Topic: Cross over
Replies: 2
Views: 272

Re: Cross over

Your question is not definitive. All strategies are calculated at EOB (End of Bar). Unless IOG is enabled, then the strategy is calculated every tick. However, in your example above, you are setting a condition, not an order. What are you asking? Do you want to submit an order intra-bar? Or do you w...
by TJ
23 Dec 2019
Forum: MultiCharts
Topic: What is the best way to sell and indicator with a monthly subscription? Why MC doensn't have a market 4 sell indicators?
Replies: 1
Views: 261

Re: What is the best way to sell and indicator with a monthly subscription? Why MC doensn't have a market 4 sell indicat

You can protect your codes. See Wiki for detail.

You can also ask MultiCharts to handle the subscription for you. You have to contact MultiCharts for detail.
by TJ
20 Dec 2019
Forum: MultiCharts
Topic: TURNOVER variable [SOLVED]
Replies: 7
Views: 426

Re: TURNOVER variable [SOLVED]

ps. see post #1 & post #2 on how to post codes
viewtopic.php?t=11713
by TJ
20 Dec 2019
Forum: MultiCharts
Topic: TURNOVER variable [SOLVED]
Replies: 7
Views: 426

Re: TURNOVER variable [SOLVED]

Try this:

input:
TOMA.Length( 50 ); // 50 days approx 10 weeks

vars:
Turnover( 0 ),
TOMA( 0 ); // Turnover moving average

Turnover = C * Volume ;
TOMA = Average( Turnover , TOMA.length );
by TJ
20 Dec 2019
Forum: MultiCharts
Topic: TURNOVER variable [SOLVED]
Replies: 7
Views: 426

Re: TURNOVER variable [SOLVED]

What is your chart resolution?
by TJ
19 Dec 2019
Forum: MultiCharts
Topic: TURNOVER variable [SOLVED]
Replies: 7
Views: 426

Re: TURNOVER variable [SOLVED]

Do you need an array?

If you want to know the average, then just calculate the moving average of the "Turnover".
by TJ
17 Dec 2019
Forum: MultiCharts
Topic: MULTICHARTS 14.0 BETA 3
Replies: 32
Views: 3413

Re: MULTICHARTS 14.0 BETA 3 Compile error

Compile Error again in Power Language Editor . This occurred just after installation of MC 14 beta 3 and restore with studies backup from MC 12.0 R8 version. Same happen in different computers with different Lifetime License. "Compile Error Line 0, column 0" occurred even trying to compile blank pa...
by TJ
11 Dec 2019
Forum: MultiCharts
Topic: multicharts date in file name [SOLVED]
Replies: 4
Views: 379

Re: multicharts date in file name [SOLVED]

i tried to solve like this FName3 = "C:\Temp\CheckList_BLSH"+datetostring(date)+".txt";
but i got error because i cannot create file with special character "/"
any idea?
Have you checked the Wiki for usage examples of datetostring ?
by TJ
30 Nov 2019
Forum: MultiCharts
Topic: Which Computer to Buy?
Replies: 25
Views: 2814

Re: Which Computer to Buy?

video not available
The video was too sensitive; they have withdrawn it. :(
by TJ
24 Nov 2019
Forum: MultiCharts
Topic: another Heikin Ashi curiosity
Replies: 3
Views: 320

Re: another Heikin Ashi curiosity

...and is it mandatory to use fastest time resolution for data 1?
In my study data1 is set at 240 minutes and time resolution for data2 is 1 hour with heinkin ashi
There are no hard rules against it. If you can make your logic work consistently for you, all the power to you.
by TJ
15 Nov 2019
Forum: MultiCharts
Topic: Vwap
Replies: 4
Views: 361

Re: Vwap

Also, look for the indicator/function in its full name - Volume Weighted Average Price.
by TJ
15 Nov 2019
Forum: MultiCharts
Topic: Vwap
Replies: 4
Views: 361

Re: Vwap

sorry was is PLE? TJ
PowerLanguage Editor
by TJ
15 Nov 2019
Forum: MultiCharts
Topic: Vwap
Replies: 4
Views: 361

Re: Vwap

Does anyone perhaps have the code for a vwap or vwap channel
Have you checked your PLE?
or done a search in this forum?
by TJ
14 Nov 2019
Forum: MultiCharts
Topic: IQFeed @ES#C vs @ES# backtest
Replies: 11
Views: 747

Re: IQFeed @ES#C vs @ES# backtest

hello all, I have been working on a futures signal using IQFeed - @ES# and @ES#C. I have found that over the exact same time frame these two return very different Profit and loss data. My backtest is only going back 10 days. 11-12-19 back to 11-2-19. I am using the CME: Equity Index Futs Combined s...
by TJ
12 Nov 2019
Forum: MultiCharts
Topic: DELTA
Replies: 5
Views: 437

Re: DELTA

is there not already something ready to program I can unfortunately not
You have already done the programming above:

Code: Select all

var:
Delta(0);

Delta = InsideASK - insideBid;
Note: InsideAsk and InsideBid are quote fields.
by TJ
12 Nov 2019
Forum: MultiCharts
Topic: Implementing a simple Donchian Channel Strategy - Issues with entry [SOLVED]
Replies: 3
Views: 355

Re: Implementing a simple Donchian Channel Strategy - Issues with entry [SOLVED]

You might find this FAQ useful:

[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
by TJ
12 Nov 2019
Forum: MultiCharts
Topic: DELTA
Replies: 5
Views: 437

Re: DELTA

Go to the Wiki

Look for the section:
PowerLanguage Keyword Reference

Under
Quote Fields‎ (36 P)

Look for:

InsideAsk
InsideBid
by TJ
09 Nov 2019
Forum: MultiCharts
Topic: Exit Discrepancy: Automated vs. BackTested [SOLVED]
Replies: 9
Views: 678

Re: Empirical Observation Re Complex Stop-Loss Coding [SOLVED]

Although what follows does not adhere entirely to the "party line" I have seen on this forum, I have found it to be accurate. It is possible to use the keyword "SetStopLoss" within a condition; however, you need to be very careful when doing so. 。。。 Nobody ever said it is impossible. If you read th...
by TJ
04 Nov 2019
Forum: MultiCharts
Topic: Data2
Replies: 12
Views: 545

Re: Data2

What are the data series resolutions? including the ADE chart?
by TJ
03 Nov 2019
Forum: MultiCharts
Topic: Adding backadjusted contracts from IQ, not working [SOLVED]
Replies: 14
Views: 903

Re: Adding backadjusted contracts from IQ, not working [SOLVED]

。。。 Appreciate the help though, workarounds around this bug exist as you say. Thanks Nope, I know nothing of the bug you are alluding to. I do not use IQ; I do not know why you are experiencing what you are experiencing. What I have shown you is NOT a workaround. This is the proper way to do a cont...
by TJ
02 Nov 2019
Forum: MultiCharts
Topic: Adding backadjusted contracts from IQ, not working [SOLVED]
Replies: 14
Views: 903

Re: Adding backadjusted contracts from IQ, not working [SOLVED]

What do you mean by "need to build a new custom future"?

All you need is to set up the artificial symbol once, and MC will do the back adjusting for you on the fly.


ps. I am not trying to persuade you not to seek the solution you want.
by TJ
01 Nov 2019
Forum: MultiCharts
Topic: Adding backadjusted contracts from IQ, not working [SOLVED]
Replies: 14
Views: 903

Re: Adding backadjusted contracts from IQ, not working [SOLVED]

Is there any reason you do not want to use MultiCharts' Custom Futures?
by TJ
30 Oct 2019
Forum: MultiCharts
Topic: How to simulate maximum potential profit for a number of trades [SOLVED]
Replies: 7
Views: 509

Re: How to simulate maximum potential profit for a number of trades [SOLVED]

First, you have to define what is "highest high".

It sounds simple . . . but have you tried to put it down on paper?
by TJ
27 Oct 2019
Forum: MultiCharts
Topic: RT Text in Subcharts code help [SOLVED]
Replies: 8
Views: 519

Re: RT Text in Subcharts code help [SOLVED]

You need to start from Step-Zero . . .

Forget about whatever you have tried. Forget about LBOC . . .

Start by describing what do you want to achieve on the screen.
Draw a diagram(s) to illustrate your vision.
by TJ
27 Oct 2019
Forum: MultiCharts
Topic: Exit Discrepancy: Automated vs. BackTested [SOLVED]
Replies: 9
Views: 678

Re: Exit Discrepancy: Automated vs. BackTested [SOLVED]

We don't know your background and experience, so it is difficult to find a starting point for this discussion. Have you checked out the FAQ in this forum? Have you read any of these articles? Relevant articles in Wiki: Fundamentals - Backtesting vs Live Trading - Understanding Backtesting - Why is D...
by TJ
26 Oct 2019
Forum: MultiCharts
Topic: RT Text in Subcharts code help [SOLVED]
Replies: 8
Views: 519

Re: RT Text in Subcharts code help [SOLVED]

Sorry I do not understand what you are trying to achieve . . .
by TJ
26 Oct 2019
Forum: MultiCharts
Topic: RT Text in Subcharts code help [SOLVED]
Replies: 8
Views: 519

Re: RT Text in Subcharts code help [SOLVED]

This is a coding question; You need to post your codes.

Please write some notes on the screenshot to illustrate:
1. What is wrong
2. What are you expecting to see
by TJ
25 Oct 2019
Forum: MultiCharts
Topic: RT Text in Subcharts code help [SOLVED]
Replies: 8
Views: 519

Re: RT Text in Subcharts code help [SOLVED]

What are the resolutions of the 5 data series ?

Which is data1 ?
by TJ
20 Oct 2019
Forum: MultiCharts
Topic: MaxBarsBack - Help needed [SOLVED]
Replies: 17
Views: 939

Re: MaxBarsBack - Help needed [SOLVED]

What kind of calculations do you have in your strategy/study?
by TJ
20 Oct 2019
Forum: MultiCharts
Topic: MaxBarsBack - Help needed [SOLVED]
Replies: 17
Views: 939

Re: MaxBarsBack - Help needed [SOLVED]

What is the instrument?
What is the chart resolution?
How much back data do you have? (ie many bars on the chart?)
How many data series?

Please take a screenshot of the error message.
by TJ
20 Oct 2019
Forum: MultiCharts
Topic: Can you scan a large group of stocks simultaneously
Replies: 2
Views: 274

Re: Can you scan a large group of stocks simultaneously

I don't see why not.

Have you considered the Portfolio Trader?
by TJ
13 Oct 2019
Forum: MultiCharts
Topic: Trouble finding max (or highest) volume of past N bars [SOLVED]
Replies: 3
Views: 318

Re: Trouble finding max (or highest) volume of past N bars [SOLVED]

What is the instrument?
What is the chart resolution?

Maybe indirectly related,
Look up the definition and usage example of the following keywords

Volume
Ticks
by TJ
12 Oct 2019
Forum: MultiCharts
Topic: Backetest is working only from the past 5 days and misteriously dosn't before that date [SOLVED]
Replies: 7
Views: 492

Re: Backetest is working only from the past 5 days and misteriously dosn't before that date [SOLVED]

Why do you need 2,500 bars of MBB?

Please go to the wiki and study the purpose and usage of the MaxBarsBack.
by TJ
10 Oct 2019
Forum: MultiCharts
Topic: Any build in VWAP indicator in MC? [SOLVED]
Replies: 7
Views: 1042

Re: Any build in VWAP indicator in MC? [SOLVED]

Already checked don’t have this indicator
Have you looked for the full name . . .

Volume Weighted Average Price
by TJ
10 Oct 2019
Forum: MultiCharts
Topic: Any build in VWAP indicator in MC? [SOLVED]
Replies: 7
Views: 1042

Re: Any build in VWAP indicator in MC? [SOLVED]

Lots of copies on the web.

Is there anything special you are looking for?
by TJ
09 Oct 2019
Forum: MultiCharts
Topic: Any build in VWAP indicator in MC? [SOLVED]
Replies: 7
Views: 1042

Re: Any build in VWAP indicator in MC? [SOLVED]

I saw some posts to customise it, but does it have build-in indicator?
What do you mean by "built-in" ?

Have you checked the PLE? under indicator as well as function?
by TJ
08 Oct 2019
Forum: MultiCharts
Topic: Order rejected after close
Replies: 5
Views: 378

Re: Order rejected after close


@TJ
By the way, according to viewtopic.php?t=10811, I have to implement myself if I want to use stop loss or trailing with condition, is that correct?
But Multicharts built-in signals also put conditions on "Global Exits" like below:
If you can make the logic work, by all means do it.
by TJ
08 Oct 2019
Forum: MultiCharts
Topic: After Intra-Bar Order Generation (IOG) enabled, then variable reset [SOLVED]
Replies: 10
Views: 457

Re: After Intra-Bar Order Generation (IOG) enabled, then variable reset [SOLVED]

After declared IntraBarPersist variable, most of the bar works to keep the value, but still have some bars reset the variable, any clue?
See post #2
by TJ
08 Oct 2019
Forum: MultiCharts
Topic: After Intra-Bar Order Generation (IOG) enabled, then variable reset [SOLVED]
Replies: 10
Views: 457

Re: After Intra-Bar Order Generation (IOG) enabled, then variable reset [SOLVED]

Go to Wiki
Go to PowerLanguage Keyword Reference
Look under Declaration‎ (28 P)

IntraBarPersist

https://www.multicharts.com/trading-sof ... _Reference
by TJ
08 Oct 2019
Forum: MultiCharts
Topic: Order rejected after close
Replies: 5
Views: 378

Re: Order rejected after close

by TJ
07 Oct 2019
Forum: MultiCharts
Topic: Order rejected after close
Replies: 5
Views: 378

Re: Order rejected after close

by TJ
07 Oct 2019
Forum: MultiCharts
Topic: After Intra-Bar Order Generation (IOG) enabled, then variable reset [SOLVED]
Replies: 10
Views: 457

Re: After Intra-Bar Order Generation (IOG) enabled, then variable reset [SOLVED]

In 1 min timeframe, When Intra-Bar Order Generation (IOG) disabled, I set a variable, I could get it in next bar (next min).. When Intra-Bar Order Generation (IOG) enabled, I set a variable, but it will reset in next OHLC bar. Any idea? If this is a coding question, please post a snippet of your co...
by TJ
03 Oct 2019
Forum: MultiCharts
Topic: Some help with Renko
Replies: 10
Views: 1093

Re: Some help with Renko

Hello all, I know.....I know Renko! I’ve been using them successfully for years with manual trading and have been trying to creat some automated signals based on the indicators that I use visually. [snipped] Thanks everyone for some much needed help. GuppyDRV I have seen people successfully auto-tr...
by TJ
24 Sep 2019
Forum: MultiCharts
Topic: Floor Povit Point not inline with the exchange open time [SOLVED]
Replies: 5
Views: 376

Re: Floor Povit Point not inline with the exchange open time [SOLVED]

Make sure you have set the scaling properly.
by TJ
22 Sep 2019
Forum: MultiCharts
Topic: Positions Size
Replies: 2
Views: 240

Re: Positions Size

Start here:
viewtopic.php?t=6929

See the ebooks in the first post. Download those free ebooks. They have sample codes on making texts.
by TJ
22 Sep 2019
Forum: MultiCharts
Topic: Positions Size
Replies: 2
Views: 240

Re: Positions Size

First Lesson in Coding:

See post #5
viewtopic.php?t=11713
by TJ
21 Sep 2019
Forum: MultiCharts
Topic: Backtest vs Real Time
Replies: 4
Views: 329

Re: Backtest vs Real Time

You can start here:
[FAQ] Autotrade / Backtest / Optimization
viewtopic.php?t=10811
by TJ
18 Sep 2019
Forum: MultiCharts
Topic: Buy this bar at open
Replies: 3
Views: 354

Re: Buy this bar at open

The strategy calculation is done at the end of a bar (EOB).
How soon do you want to trade AFTER the opening of the market?

Bear in mind, your vision might be trading on a daily bar, but in practice, you are actually trading intraday.
Therefore your analysis must include an intraday chart.
by TJ
17 Sep 2019
Forum: MultiCharts
Topic: Looking up timezone setting from powerlanguage
Replies: 3
Views: 257

Re: Looking up timezone setting from powerlanguage

ComputerDateTime is your local time
by TJ
17 Sep 2019
Forum: MultiCharts
Topic: Looking up timezone setting from powerlanguage
Replies: 3
Views: 257

Re: Looking up timezone setting from powerlanguage

Go to the Wiki, you will find the following sections on time:

Date and Time Routines‎ (54 P)
DateTime‎ (2 P)
by TJ
15 Sep 2019
Forum: MultiCharts
Topic: Compiled with error [SOLVED]
Replies: 10
Views: 606

Re: Compiled with error [SOLVED]

Shut down the computer; start again.
by TJ
08 Sep 2019
Forum: MultiCharts
Topic: Order- and Position Tracker
Replies: 3
Views: 430

Re: Order- and Position Tracker

by TJ
31 Aug 2019
Forum: MultiCharts
Topic: time stamp [SOLVED]
Replies: 8
Views: 464

Re: time stamp [SOLVED]

Try this

Code: Select all

input:
Open.US( 30000 );

if time_s >= Open.us and time_s[1] < Open.us then
plot1 ( h*2, "Open.US" ); // plot style set as histogram
by TJ
31 Aug 2019
Forum: MultiCharts
Topic: time stamp [SOLVED]
Replies: 8
Views: 464

Re: time stamp [SOLVED]

What is your chart resolution?
It makes a difference on how you program.
by TJ
31 Aug 2019
Forum: MultiCharts
Topic: time stamp [SOLVED]
Replies: 8
Views: 464

Re: time stamp [SOLVED]

But what do you want to do ??? Do you want an arrow? Where do you want the arrow? Can you draw it out on your screenshot? Do you want a line? From where to where? Do you want a text saying "dealers in Europe start Start selling" ? Do you want to enter a log in a file that the time is 3:00 US time? W...
by TJ
31 Aug 2019
Forum: MultiCharts
Topic: time stamp [SOLVED]
Replies: 8
Views: 464

Re: time stamp [SOLVED]

How do you want this " time stamp"?

What is your screenshot showing?
by TJ
29 Aug 2019
Forum: MultiCharts
Topic: Here is my Linear Regression 2 colors code - How can I anticipate the color switch? [SOLVED]
Replies: 2
Views: 303

Re: Here is my Linear Regression 2 colors code - How can I anticipate the color switch? [SOLVED]

You will need to add this line of code to the respective plot:

Code: Select all

SetPlotColor[Displace+1]( 1, UpColor );

SetPlotColor[Displace+1]( 1, DnColor );
by TJ
24 Aug 2019
Forum: MultiCharts
Topic: MC12 format window default Setting
Replies: 3
Views: 240

Re: MC12 format window default detting

Please take a screen shot.
by TJ
24 Aug 2019
Forum: MultiCharts
Topic: IB TWS historical data request pacing violation
Replies: 13
Views: 4311

Re: IB TWS historical data request pacing violation

Two things:

1. Make sure you have configured your MC to save the data to your computer.

2. When you shut down the computer at the end of the day, make sure all the MC processes are completely finished and exited the Taskmanager.
by TJ
21 Aug 2019
Forum: MultiCharts
Topic: Recalculating an indicator/study
Replies: 2
Views: 273

Re: Recalculating an indicator/study

From the Wiki

Go to
8 PowerLanguage Keyword Reference

Looking under
Execution Control‎ (14 P)

You will find the keyword
RecalcLastBarAfter
by TJ
20 Aug 2019
Forum: MultiCharts
Topic: Printing [SOLVED]
Replies: 2
Views: 249

Re: Printing [SOLVED]

The print log is in the PowerLanguage Editor.
Look for the OUTPUT tab located near the bottom of the window.
by TJ
19 Aug 2019
Forum: MultiCharts
Topic: ADE: Error in study ... Can't find dll "elcollections2.dll"
Replies: 9
Views: 645

Re: ADE: Error in study ... Can't find dll "elcollections2.dll"

Have you read post #5 above?
[Advanced Topic] MultiCharts 64 bit Resources (3rd Party)

This is not something new; I wrote the post in 2012 !!!
People have been using MC64 with ADE for years.
by TJ
16 Aug 2019
Forum: MultiCharts
Topic: ADE: Error in study ... Can't find dll "elcollections2.dll"
Replies: 9
Views: 645

Re: ADE: Error in study ... Can't find dll "elcollections2.dll"

I would add the dll to ALL the possible directories... anywhere you see dll, add a copy there too, just in case MC is looking at that directory.

Failing the above, you can use LiveChat with techsupport, they can sort it out for you.
by TJ
16 Aug 2019
Forum: MultiCharts
Topic: ADE: Error in study ... Can't find dll "elcollections2.dll"
Replies: 9
Views: 645

Re: ADE: Error in study ... Can't find dll "elcollections2.dll"

Please see:
[Advanced Topic] MultiCharts 64 bit Resources (3rd Party)
viewtopic.php?t=10094
by TJ
16 Aug 2019
Forum: MultiCharts
Topic: ADE: Error in study ... Can't find dll "elcollections2.dll"
Replies: 9
Views: 645

Re: ADE: Error in study ... Can't find dll "elcollections2.dll"

Global Variable is included in the MC installation, not ADE.
by TJ
16 Aug 2019
Forum: MultiCharts
Topic: ADE: Error in study ... Can't find dll "elcollections2.dll"
Replies: 9
Views: 645

Re: ADE: Error in study ... Can't find dll "elcollections2.dll"

Are you using the 64 bit version of ELCollections?
by TJ
06 Aug 2019
Forum: MultiCharts
Topic: ADE implementation [SOLVED]
Replies: 9
Views: 903

Re: ADE implementation [SOLVED]

It is good to know the problem has been solved.
Thank you for reporting back.
Good trading to you.
by TJ
06 Aug 2019
Forum: MultiCharts
Topic: ADE implementation [SOLVED]
Replies: 9
Views: 903

Re: ADE implementation [SOLVED]

ListS.New?
Have you downloaded those functions and compiled them in your MC?
They are with the docs.
by TJ
06 Aug 2019
Forum: MultiCharts
Topic: ADE implementation [SOLVED]
Replies: 9
Views: 903

Re: ADE implementation [SOLVED]

Sorry I do not use ELC; I do not have those sources.
by TJ
06 Aug 2019
Forum: MultiCharts
Topic: ADE implementation [SOLVED]
Replies: 9
Views: 903

Re: ADE implementation [SOLVED]

Do you have the 64 bit version of ELCollections?

viewtopic.php?t=10094
by TJ
04 Aug 2019
Forum: MultiCharts
Topic: Changing from online to offline without closing workspaces ? [SOLVED]
Replies: 1
Views: 234

Re: Changing from online to offline without closing workspaces ? [SOLVED]

. . .

Any way to do this change online/offline without closing the workspaces ?

Error.PNG
NO. You have to close all workspaces first.
I believe this is done to avoid accidental switching which can cause unintended trading activities.
by TJ
04 Aug 2019
Forum: MultiCharts
Topic: ELCollections compile error [SOLVED]
Replies: 5
Views: 377

Re: ELCollections compile error [SOLVED]

Prob coding error

Can't even pass line 0, column 0.
by TJ
02 Aug 2019
Forum: MultiCharts
Topic: Exit on close
Replies: 1
Views: 240

Re: Exit on close

See post #6
[FAQ] SetExitOnClose
viewtopic.php?t=10811
by TJ
02 Aug 2019
Forum: MultiCharts
Topic: Crosshairs Tick setting
Replies: 3
Views: 287

Re: Crosshairs Tick setting

You can submit a feature request here:

https://www.multicharts.com/pm/public/multicharts
by TJ
02 Aug 2019
Forum: MultiCharts
Topic: Crosshairs Tick setting
Replies: 3
Views: 287

Re: Crosshairs Tick setting

You can try one of the drawing tools.
eg. Fibonacci grid

At the main menu, go to "View" and set the "Snap mode". The drawing will give you the exact price points.
by TJ
31 Jul 2019
Forum: MultiCharts
Topic: FileAppend function not creating file [SOLVED]
Replies: 3
Views: 334

Re: FileAppend function not creating file [SOLVED]

Im using the code below to test the FileAppend function but nothing seems to happen. No file is created and if i manually create the file nothing is added to it.
Make sure your MC has the Right to write to the directory.
by TJ
26 Jul 2019
Forum: MultiCharts
Topic: Trailing stop with Webank [SOLVED]
Replies: 11
Views: 722

Re: Trailing stop with Webank [SOLVED]

OK Svetlana I only have to set the IOG and nothing else, right?
Thank you
See post #5
viewtopic.php?t=10811

Pay special attention to note about IOG.
by TJ
22 Jul 2019
Forum: MultiCharts
Topic: Problem with Highest built in function on data2
Replies: 4
Views: 383

Re: Problem with Highest built in function on data2

MC version and build number?
by TJ
21 Jul 2019
Forum: MultiCharts
Topic: Indicator calculating even if data field is n/a
Replies: 6
Views: 622

Re: Indicator calculating even if data field is n/a

See post #1 & post #2
1. [FAQ] How to Post Codes ... so that people can read.
viewtopic.php?t=11713
by TJ
21 Jul 2019
Forum: MultiCharts
Topic: Constantly in the market buy/sell logic
Replies: 10
Views: 609

Re: Constantly in the market buy/sell logic

. . .

edit to answer to TJ

you are long 4 contrats, you want to be short 2, then sell 6 : 4 to close your buy position and 2 to be short 2 contract.
None of my examples have long 4 contrats.
by TJ
20 Jul 2019
Forum: MultiCharts
Topic: Heikin Ashi candles in DataStream 2
Replies: 5
Views: 346

Re: Heikin Ashi candles in DataStream 2

See post #14
[FAQ] Multi-data strategy, Realtime-History Matching
viewtopic.php?t=10811
by TJ
20 Jul 2019
Forum: MultiCharts
Topic: Heikin Ashi candles in DataStream 2
Replies: 5
Views: 346

Re: Heikin Ashi candles in DataStream 2

See post #18
[FAQ] Multiple Time Frame, Multi-Data Analysis
viewtopic.php?t=10811
by TJ
20 Jul 2019
Forum: MultiCharts
Topic: Heikin Ashi candles in DataStream 2
Replies: 5
Views: 346

Re: Heikin Ashi candles in DataStream 2

Signals are calculated at the end of bar (OOB).

Unless the data2 is closed before Data1, you will not get the realtime quote as the "Close" of data2.
by TJ
20 Jul 2019
Forum: MultiCharts
Topic: Heikin Ashi candles in DataStream 2
Replies: 5
Views: 346

Re: Heikin Ashi candles in DataStream 2

Mixing non-time-based analysis with time-based analysis is always a challenge -- you have to reconcile the timing difference.
by TJ
09 Jul 2019
Forum: MultiCharts
Topic: Swing levels [SOLVED]
Replies: 5
Views: 399

Re: Swing levels [SOLVED]

See post #6
Developing Your Strategy
viewtopic.php?t=11713
by TJ
09 Jul 2019
Forum: MultiCharts
Topic: can i specify the format of price?
Replies: 1
Views: 189

Re: can i specify the format of price?

hi got 2questions. 1. 2. is there function for round up or down for specific pricescale? like floor and ceiling functions in excel. if i use floor(333.4,0.25) then it gives back 333.25, and ceiling(333.4,0.25) then it gives back 333.5. thanks. In the Wiki, See Contents, Under -- 8 PowerLanguage Key...
by TJ
06 Jul 2019
Forum: MultiCharts
Topic: Stored market data [SOLVED]
Replies: 4
Views: 369

Re: Stored market data [SOLVED]

Thanks TJ, that worked!

I guess I was to hasty.

Cheers,

Simon
I am glad to hear it works.
Good trading to you.
by TJ
06 Jul 2019
Forum: MultiCharts
Topic: Stored market data [SOLVED]
Replies: 4
Views: 369

Re: Stored market data [SOLVED]

When you shut down the computer, make sure all the MC processes have closed.

MultiCharts operates in RAM; it flushes the quotes to your computer's database at the end of the session.
by TJ
24 Jun 2019
Forum: MultiCharts
Topic: 99% cpu usage - instances that use data2 for auto trading [SOLVED]
Replies: 9
Views: 682

Re: 99% cpu usage - instances that use data2 for auto trading [SOLVED]

As I wrote above, not using iog and have no time related code
It is possible you have a hidden infinite loop.

Have you tried one chart only ?

How does the CPU respond?
by TJ
24 Jun 2019
Forum: MultiCharts
Topic: 99% cpu usage - instances that use data2 for auto trading [SOLVED]
Replies: 9
Views: 682

Re: 99% cpu usage - instances that use data2 for auto trading [SOLVED]

What are the chart resolutions?

How much back history on the chart?
by TJ
24 Jun 2019
Forum: MultiCharts
Topic: 99% cpu usage - instances that use data2 for auto trading [SOLVED]
Replies: 9
Views: 682

Re: 99% cpu usage - instances that use data2 for auto trading [SOLVED]

Usually it is a coding error.

Are you running IOG?

Please check to see if you have a snippet that sends an order, then cancels it immediately, and resubmits it again.
by TJ
24 Jun 2019
Forum: MultiCharts
Topic: 99% cpu usage - instances that use data2 for auto trading [SOLVED]
Replies: 9
Views: 682

Re: 99% cpu usage - instances that use data2 for auto trading [SOLVED]

Do you have any PL code created drawing objects?

eg. Trendlines, arrows, texts, etc.,
by TJ
24 Jun 2019
Forum: MultiCharts
Topic: Daten
Replies: 3
Views: 250

Re: Daten

If you switch it on, QM will automatically collect data for you even if you have not opened a chart.
by TJ
24 Jun 2019
Forum: MultiCharts
Topic: Daten
Replies: 3
Views: 250

Re: Daten

Do you save your data or is it OFF with you?
Don't understand your question.
by TJ
24 Jun 2019
Forum: MultiCharts
Topic: Adding an unused input changing trade signal [SOLVED]
Replies: 5
Views: 345

Re: Adding an unused input changing trade signal [SOLVED]

Your MaxBarsBack might be different.


Have you checked to see which trades are missing?
by TJ
21 Jun 2019
Forum: MultiCharts
Topic: ORB
Replies: 5
Views: 349

Re: ORB

the problem lies with ORB system
ORB indicator is OK

das Problem liegt bei ORB System
ORB Indikator ist OK
Please use LiveChat with techsupport; they can sort this out for you.
by TJ
21 Jun 2019
Forum: MultiCharts
Topic: ORB
Replies: 5
Views: 349

Re: ORB

You need to click the Compile button on the PLEditor.
by TJ
21 Jun 2019
Forum: MultiCharts
Topic: ORB
Replies: 5
Views: 349

Re: ORB

Jimmyrakete:

This indicator and strategy require TWO data streams.

You can try adding another data stream to the chart.

eg. add a 5 min data and a 15 min data in the same chart.
by TJ
21 Jun 2019
Forum: MultiCharts
Topic: Compile error line 0, column 0 , How to solve it?
Replies: 9
Views: 989

Re: Compile error line 0, column 0 , How to solve it?

Please ALWAYS post a screenshot of the error messages.
by TJ
20 Jun 2019
Forum: MultiCharts
Topic: Spontaneous corruption of database MC12
Replies: 11
Views: 614

Re: Spontaneous corruption of database MC12

For the current MC version,
all the operating data are stored in RAM.
The data is flushed to your harddisk when you shut down MC.

As the first debug step, I would run the memory test to check the memory integrity.
by TJ
19 Jun 2019
Forum: MultiCharts
Topic: Help creating a "switch" in code
Replies: 9
Views: 535

Re: Help creating a "switch" in code

What is your chart resolution?

Can you draw a diagram to illustrate your thoughts?

What are the "What-if" scenarios you will encounter?
by TJ
03 Jun 2019
Forum: MultiCharts
Topic: Last day of month code working with data2 ;
Replies: 5
Views: 456

Re: Last day of month code working with data2 ;

I have tried your code.
I do not get your error message.

Please post your complete code if you need help debugging.
by TJ
02 Jun 2019
Forum: MultiCharts
Topic: Last day of month code working with data2 ;
Replies: 5
Views: 456

Re: Last day of month code working with data2 ;

Please get a screenshot of the error message
by TJ
24 May 2019
Forum: MultiCharts
Topic: Value of a bar at a certain time from last session? [SOLVED]
Replies: 9
Views: 592

Re: Value of a bar at a certain time from last session? [SOLVED]

Perfect, it works! Thank you very much for your appreciated help TJ.
Kind regards, LRP
You are welcome.

Where there is a will, there is a way.
by TJ
24 May 2019
Forum: MultiCharts
Topic: Value of a bar at a certain time from last session? [SOLVED]
Replies: 9
Views: 592

Re: Value of a bar at a certain time from last session? [SOLVED]

Try this:

Code: Select all


var: price.at.1730(0), temp(0);

if time = 1730 then temp = Close;

if time = 2200 then price.at.1730 = temp;
by TJ
24 May 2019
Forum: MultiCharts
Topic: Value of a bar at a certain time from last session? [SOLVED]
Replies: 9
Views: 592

Re: Value of a bar at a certain time from last session? [SOLVED]

Thanks a lot TJ, but as soon 17:30 is reached (today) I will get a new but unwanted value. Instead I do like to keep the close 17:30 value from yesterday until the end of the session. I tried a lot but can not find the solution to keep that 17:30 Close value from yesterday until the session ends to...
by TJ
24 May 2019
Forum: MultiCharts
Topic: IB disconnection issue
Replies: 6
Views: 508

Re: IB disconnection issue

Thanks a lot TJ for the reply , as some of the discussion i looked at earlier were from 2012 i was hoping that it was something that was resolved already.

i will google the workaround.

Since the API came out, virtually nobody is asking about the reconnection problem again.
by TJ
24 May 2019
Forum: MultiCharts
Topic: IB disconnection issue
Replies: 6
Views: 508

Re: IB disconnection issue

Hello Traders, I have just setup MC on autotrading nd have a problem with MC/IB connection at night , when i check the logs it seems that Multicharts tries to connect IB gateway at 5.31am every night 5.31AM Information "Connecting to TWS" and then it shows 5.31AM Error "Connectivity between IB and ...
by TJ
23 May 2019
Forum: MultiCharts
Topic: Value of a bar at a certain time from last session? [SOLVED]
Replies: 9
Views: 592

Re: Value of a bar at a certain time from last session? [SOLVED]

OK, this is a simple requirement.

All you need is to set up a variable,
then at 1730 every day, assign the close price to the variable.
this variable is available for you to recall at any time in the future.

eg.

Code: Select all

var: price.at.1730(0);

if time = 1730 then price.at.1730 = Close;
by TJ
23 May 2019
Forum: MultiCharts
Topic: Value of a bar at a certain time from last session? [SOLVED]
Replies: 9
Views: 592

Re: Value of a bar at a certain time from last session? [SOLVED]

A few questions:

1. Do you only need the data from the previous session?

2. Is this a recurring request?

3. Do you need a specific time? or the time is different for every request?

4. When do you make the request?
eg at 1730 today, you want to know the close of 1730 the previous day?
by TJ
22 May 2019
Forum: MultiCharts
Topic: Using the reserved word “TL_New” [SOLVED]
Replies: 14
Views: 831

Re: Using the reserved word “TL_New” [SOLVED]

ps. ABC's sample code is for offline educational use only.

You should create the chart first, then apply the code.

It will not appear on a real-time chart that has previously been saved in a workspace.
by TJ
22 May 2019
Forum: MultiCharts
Topic: Using the reserved word “TL_New” [SOLVED]
Replies: 14
Views: 831

Re: Using the reserved word “TL_New” [SOLVED]

Try this

Code: Select all

Variables: TLID(-1),
TxtID(-1);

TLID = TL_New(Date[10], Time[10], Close, Date, Time, Close);
TL_SetColor(TLID, red);
TL_SetSize(TLID, 4);
TL_SetStyle(TLID, 2);

TxtID = Text_New(Date, Time, Close, "Hello World!");
Text_SetStyle(TxtID, 0, 2);
by TJ
21 May 2019
Forum: MultiCharts
Topic: Using the reserved word “TL_New” [SOLVED]
Replies: 14
Views: 831

Re: Using the reserved word “TL_New” [SOLVED]

Scaling should be "Same as Instrument".
by TJ
20 May 2019
Forum: MultiCharts
Topic: Using the reserved word “TL_New” [SOLVED]
Replies: 14
Views: 831

Re: Using the reserved word “TL_New” [SOLVED]

What is your chart resolution?

ie the chart type and interval?
by TJ
20 May 2019
Forum: MultiCharts
Topic: Using the reserved word “TL_New” [SOLVED]
Replies: 14
Views: 831

Re: Using the reserved word “TL_New” [SOLVED]

Please see posts #1 & #2
How to post codes
viewtopic.php?t=11713
by TJ
19 May 2019
Forum: MultiCharts
Topic: Data downloaded but request backfilling again
Replies: 11
Views: 856

Re: Data downloaded but request backfilling again

Is this about the HSI symbol?

Make sure the session is set up correctly.
by TJ
19 May 2019
Forum: MultiCharts
Topic: Real time data cannot resume after lunch break
Replies: 9
Views: 695

Re: Real time data cannot resume after lunch break

I'm not sure as IB don't has this option for selection
Please check the IB website; it has detail on how you can find out which server you are using, and how you can change it.
by TJ
18 May 2019
Forum: MultiCharts
Topic: Real time data cannot resume after lunch break
Replies: 9
Views: 695

Re: Real time data cannot resume after lunch break

In Hong Kong, there is a lunch break between 12:00-13:00, even I set the session of HSI future correct, found the real time data cannot be resumed after lunch break, when close the MC and run again, then the real time data will resume, anyone can advise how to fit it? Which IB server are you using?...
by TJ
16 May 2019
Forum: MultiCharts
Topic: Watchlist Quote Doesn't Match Chart Quote
Replies: 16
Views: 1000

Re: Watchlist Quote Doesn't Match Chart Quote

AFTER HOURS MARKET
by TJ
14 May 2019
Forum: MultiCharts
Topic: Data downloaded but request backfilling again
Replies: 11
Views: 856

Re: Data downloaded but request backfilling again

>7. Close MC and open again.

After closing MC,
check the Windows TaskManager,
make sure all MC processes are closed before restarting MC.
by TJ
14 May 2019
Forum: MultiCharts
Topic: Alert Function
Replies: 3
Views: 354

Re: Alert Function

You can add this keyword to your alert message:

GetSymbolName
by TJ
13 May 2019
Forum: User Contributed Studies and Indicator Library
Topic: spread charts
Replies: 25
Views: 6679

Re: spread charts

Was this ever implemented? As others have said, indicators are no substitute for real composite symbols. Would massively improve the value of MultiCharts IMO.
Composite symbols are only valuable IF and ONLY IF you can trade them.

For that to happen, the symbol must come from your broker.
by TJ
13 May 2019
Forum: MultiCharts
Topic: Data downloaded but request backfilling again
Replies: 11
Views: 856

Re: Data downloaded but request backfilling again

I downloaded 1 min chart data and saved, when I open a new workspace and use 1 min chart with same symbol in the new workspace, why the system needs backfilling data again?

What do you mean by "I downloaded 1 min chart data and saved,"?

What steps did you do?
by TJ
08 May 2019
Forum: MultiCharts
Topic: Data loading speed - minutes data [SOLVED]
Replies: 2
Views: 326

Re: Data loading speed - minutes data [SOLVED]

You see, TS, IB and OANDA are brokers; they are not real data providers. The quotes they provided are for order purposes.

If you need to load a lot of data in a hurry,
there is only one way to do it -- subscribe to a real data provider.
by TJ
04 May 2019
Forum: MultiCharts
Topic: Incorrect bar in MC 12 [SOLVED]
Replies: 17
Views: 1067

Re: Incorrect bar in MC 12 [SOLVED]

Already tried, but doesn’t work. The chart always displays “backfilling” and the “Reload All Data” option is dimmed. That means you are requesting too much data. You must be getting "Pace Violation" messages. IB has imposed limitations on how much you can download within a certain time. You can pur...
by TJ
04 May 2019
Forum: MultiCharts
Topic: Hang when switching timeframe
Replies: 2
Views: 269

Re: Hang when switching timeframe

Version? Build number?
by TJ
04 May 2019
Forum: MultiCharts
Topic: Real time data cannot resume after lunch break
Replies: 9
Views: 695

Re: Real time data stopped when market opening

Which MC version /build number are you using?
by TJ
04 May 2019
Forum: MultiCharts
Topic: Incorrect bar in MC 12 [SOLVED]
Replies: 17
Views: 1067

Re: Incorrect bar in MC 12 [SOLVED]

You can reload the data.
You do not have to delete the cache.


https://www.multicharts.com/trading-sof ... ing_Charts
by TJ
03 May 2019
Forum: MultiCharts
Topic: How can I get the high and low of the previous day session
Replies: 10
Views: 2047

Re: How can I get the high and low of the previous day session

. . .

but it does not work.
I simply cannot find what the problem is....

Regards,

David
Please post a screen shot of your chart.

Please draw on the chart what you are looking for.
by TJ
28 Apr 2019
Forum: MultiCharts
Topic: Renko chart issue & question
Replies: 4
Views: 462

Re: Renko chart issue & question

we are waiting many things about Renko : https://www.multicharts.com/pm/public/multicharts/issues/MC-1649 https://www.multicharts.com/pm/public/multicharts/issues/MC-1331 https://www.multicharts.com/pm/public/multicharts/issues/MC-845 My 2 cents: For trading purposes, it will be a lot easier to pro...
by TJ
28 Apr 2019
Forum: MultiCharts
Topic: Renko chart issue & question
Replies: 4
Views: 462

Re: Renko chart issue & question

My 2 cents:

For trading purposes,
it will be a lot easier to program the Renko logic into your strategy than to rely on the built-in chart style.

YMMV
by TJ
24 Apr 2019
Forum: MultiCharts
Topic: Strategy is sending orders but they’re canceled immediately, why? No broker side problem [SOLVED]
Replies: 9
Views: 809

Re: Strategy is sending orders but they’re canceled immediately, why? No broker side problem [SOLVED]

. . . But the only button that I see to post the image is a small image icon and it only provide the img tags for the image url ( I don't see an option to upload an image here ). Anyway the alternative link of the image is https://futures.io/attachments/265243 Not everyone can see the picture at th...
by TJ
19 Apr 2019
Forum: MultiCharts
Topic: Power Language-Chart Trading Panel extension
Replies: 13
Views: 832

Re: Power Language-Chart Trading Panel extension

I just wonder if anyone thinks this is useful idea: Having the ability to control certain aspects of the Chart Trading Panel from within Power Language. I would like the ability to: 1) disable Buy/Sell buttons under certain conditions 2) set the # of contracts based on market volatility Right now t...

Go to advanced search