Search found 7743 matches

by TJ
21 Jan 2015
Forum: MultiCharts
Topic: Gap Up/Dn, pre market activity/news into Portfolio Trader
Replies: 3
Views: 1441

Re: Gap Up/Dn, pre market activity/news into Portfolio Trad

Gap Up/Dn, pre market activity/news into Portfolio Trader is this possible to write a script or indicator to get the Instruments that has lot of activity in pre-market some news break out before Mktopen Gap Up/dn form previous close If there is a pre-market, eg. ES, you can "predict" a gap up/dn be...
by TJ
21 Jan 2015
Forum: MultiCharts
Topic: TWS connection error : broke:usfarm [SOLVED]
Replies: 15
Views: 7102

Re: TWS connection error : broke:usfarm [SOLVED]

I clicked on the IB link in post2 let me read that post There are TWO (2) links in post #2. IF you are still not sure, read the first line in post #8 again. TJ. I read the post#2 complete and yesterday i was running TWS and MC in local PC and was doing stocks and TWS was demo acct yesterday, so not...
by TJ
21 Jan 2015
Forum: MultiCharts
Topic: TWS connection error : broke:usfarm [SOLVED]
Replies: 15
Views: 7102

Re: TWS connection error : broke:usfarm [SOLVED]

I clicked on the IB link in post2
let me read that post
There are TWO (2) links in post #2.

IF you are still not sure, read the first line in post #8 again.
by TJ
21 Jan 2015
Forum: MultiCharts
Topic: TWS connection error : broke:usfarm [SOLVED]
Replies: 15
Views: 7102

Re: TWS connection error : broke:usfarm [SOLVED]

IB daily server reboot[/u] and TWS auto logoff are 2 different and unrelated things. Please read the links in post #2 above I see it here https://www.interactivebrokers.com/en/index.php?f=en/software/systemStatus.php so if I use IB gateway, wouldn't affected by server reboots? as I hear people usin...
by TJ
21 Jan 2015
Forum: MultiCharts
Topic: TWS connection error : broke:usfarm [SOLVED]
Replies: 15
Views: 7102

Re: TWS connection error : broke:usfarm [SOLVED]

What time zone is this 11.40pm? We have traders around the world. Are you aware of the daily IB server reboot? (take a look at their website) 11.40 CST and errors started around that time yes, I change autologoff every day and last night, I think it was late before I changed the logoff time do youn...
by TJ
21 Jan 2015
Forum: MultiCharts
Topic: TWS connection error : broke:usfarm [SOLVED]
Replies: 15
Views: 7102

Re: TWS connection error : broke:usfarm [SOLVED]

any idea how does IB resolves this issue I don't know; that's something for IB. It also depends on whether it's really an issue: if the disconnects happen in the 'server reset times' (see the link in my post above) it's not an issue but expected behaviour. Do these errors need to be fixed for you? ...
by TJ
20 Jan 2015
Forum: MultiCharts
Topic: Text tool, carriage return? [SOLVED]
Replies: 2
Views: 1318

Re: Text tool, carriage return? [SOLVED]

Look up


NEWLINE
by TJ
20 Jan 2015
Forum: MultiCharts
Topic: Text tool, carriage return? [SOLVED]
Replies: 2
Views: 1318

Re: Text tool, carriage return? [SOLVED]

The Text tool seems to only write in one long line. Is there a way to carriage return it?

Add this to your string

\n
by TJ
20 Jan 2015
Forum: MultiCharts
Topic: How to output milliseconds using FileAppend [SOLVED]
Replies: 11
Views: 4917

Re: How to output milliseconds using FileAppend [SOLVED]

You can load up to 100 million bars on a chart (ie 100m ticks in this case). You will have to guesstimate the beginning and ending time of sessions to load. ps. You can load more than 100m bars on the chart, but you will need to edit the registry, which is not something I would recommend people to do.
by TJ
19 Jan 2015
Forum: MultiCharts
Topic: How to output milliseconds using FileAppend [SOLVED]
Replies: 11
Views: 4917

Re: How to output milliseconds using FileAppend [SOLVED]

If you want the adjusted price, then you do it this way:

Load a one-tick chart on your screen, then

FILE > Export Data


It is not perfect, it is tedious, and you might need to do some data massaging afterwards,
but at least you get your MMM.
by TJ
19 Jan 2015
Forum: MultiCharts
Topic: How to output milliseconds using FileAppend [SOLVED]
Replies: 11
Views: 4917

Re: How to output milliseconds using FileAppend [SOLVED]

You can go directly to QuoteManager and export the data from there.
by TJ
19 Jan 2015
Forum: MultiCharts
Topic: Chart - Statusline different dependent on the Chart-Type
Replies: 3
Views: 1237

Re: Chart - Statusline different dependent on the Chart-Type

You can always make your own status line... with TEXT_NEW.
by TJ
18 Jan 2015
Forum: MultiCharts
Topic: Error optimizing trendline (TL) strategy
Replies: 20
Views: 5171

Re: Error optimizing trendline (TL) strategy

Hi, I have a signal that draws TLs and trades based on associated logic. The signal itself draws the TLs and trades them fine ... until I attempt to optimize it. All attempts at optimization immediately produce a TL_New failure. Example error: http://www.multicharts.com/discussion/download/file.php...
by TJ
18 Jan 2015
Forum: MultiCharts
Topic: Users submitted Strategy/signal to check out
Replies: 3
Views: 1504

Re: Users submitted Strategy/signal to check out

is there any Users submitted Strategy/signal to check out, something basic to check the functionality of how strategy works
thanks
Can you elaborate?
by TJ
18 Jan 2015
Forum: MultiCharts
Topic: Trading Multiple Strategies on Same Symbol
Replies: 7
Views: 2566

Re: Trading Multiple Strategies on Same Symbol

A related question: Can a variable from one Signal Strategy (System "A") be read or accessed by the other Strategy (System "B")?
Look up

i_setplotvalue
i_getplotvalue
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Multiple Data Series issue
Replies: 27
Views: 7635

Re: Multiple Data Series issue

I have always find it a challenge when mixing Intra-day analysis with Inter-day analysis.
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: stop order problem
Replies: 4
Views: 2191

Re: stop order problem

The code below replicates a simplified version of something I'm trying to achieve.
::
What is your chart resolution?
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Trading Multiple Strategies on Same Symbol
Replies: 7
Views: 2566

Re: Trading Multiple Strategies on Same Symbol

Hi All! I have two strategies I'd like to simultaneously trade on the same underlying stock. They are saved as individual Signals using the PowerLanguage Editor. What are the best practices to use to ensure System "A" Entries (LA1) and not being closed by System "B" Exits (XB1)? What I've found is ...
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Multiple Data Series issue
Replies: 27
Views: 7635

Re: Multiple Data Series issue

I tried that, and have the same results.
I would start with an indicator...
PLOT the fma and sma lines.

in place of BUY/SELL... PLOT a dot.

THis should tell you where you stand.
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Multiple Data Series issue
Replies: 27
Views: 7635

Re: Multiple Data Series issue

Thanks for the fast reply. I switched to this: inputs: fastma(13), slowma(26); variables: fma(0), sma(0), fma2(0, data2), sma2(0, data2); fma = XAverage(close, fastma); sma = XAverage(close, slowma); fma2 = XAverage(close, fastma) data2; sma2 = XAverage(close, slowma) data2; if marketposition = 0 a...
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Multiple Data Series issue
Replies: 27
Views: 7635

Re: Multiple Data Series issue

I have the following code: inputs: close1(close of data1), close2(close of data2), fastma(13), slowma(26); variables: fma(0), sma(0), fma2(0), sma2(0); fma = XAverage(close1, fastma); sma = XAverage(close1, slowma); fma2 = XAverage(close2, fastma); sma2 = XAverage(close2, slowma); And I have two se...
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Insidebid and Insideask
Replies: 7
Views: 1825

Re: Insidebid and Insideask

Thanks for the prompt responses folks. So, if I understand correctly if the bid price changes within the same tick it is not possible to obtain the updated bid price. Once you call insidebid for the 1st time that is the bid price that will be used throughout the calculations. This does match what I...
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Insidebid and Insideask
Replies: 7
Views: 1825

Re: Insidebid and Insideask

InsideBid and InsideAsk are updated with each new tick. True, but as I understand this topic he's asking whether InsideBid and InsideAsk reflect values of when the current calculation started with the new tick or if these can also change while the current tick is being processed. In MT, you can do ...
by TJ
17 Jan 2015
Forum: MultiCharts
Topic: Insidebid and Insideask
Replies: 7
Views: 1825

Re: Insidebid and Insideask

InsideBid and InsideAsk are updated with each new tick.
by TJ
16 Jan 2015
Forum: MultiCharts
Topic: Free quotes
Replies: 6
Views: 2543

Re: Free quotes

Hello, FreeQuote seems to be randomly working: :: Google and Yahoo do not have the licenses to stream all the data from all the exchanges. They can display the charts on their websites, they can allow download on certain licensed products. but not everything. This maybe the reason you have problem ...
by TJ
16 Jan 2015
Forum: MultiCharts
Topic: Second hand Easylanguage reference books [SOLVED]
Replies: 5
Views: 1958

Re: Second hand Easylanguage reference books [SOLVED]

I am wanting to learn more about Multichart Powerlanguage and therefore I am looking for secondhand Easylanguage books. Can anyone guide me to where I might find these.
You can start here:

[FAQ] EasyLanguage
viewtopic.php?f=16&t=6929
by TJ
16 Jan 2015
Forum: MultiCharts
Topic: running two signal in two workspace in IB simulation account
Replies: 4
Views: 1592

Re: running two signal in two workspace in IB simulation acc

::
can I run two workspace in the same time and they will not affect each other if they are trading the same instrument?
Look for this article in wiki:

Trading from Multiple Charts on One Instrument
by TJ
15 Jan 2015
Forum: MultiCharts
Topic: how to code lines per bar on volume delta charts? [SOLVED]
Replies: 2
Views: 1372

Re: how to code lines per bar on volume delta charts? [SOLVED]

Is there a way to code lines (not trendlines since we cannot move them to back) like the ones on the volume delta chart?
::
Use a loop to PLOT a series of dash.
by TJ
15 Jan 2015
Forum: MultiCharts
Topic: Problem with FileDelete [SOLVED]
Replies: 12
Views: 4718

Re: Problem with FileDelete [SOLVED]

Maybe this is an obvious question... have you ever had success in deleting a file? or is this a new problem?

Have you checked the access right to delete files in your directory?


Have you ever attempt to delete a file that does not exist? What happens next?
by TJ
15 Jan 2015
Forum: MultiCharts
Topic: Market On Open orders,How to know bar is last bar of session
Replies: 2
Views: 1070

Re: Market On Open orders,How to know bar is last bar of ses

ps. there is an indicator for holidays, you can probably adapt the code for your purposes.
by TJ
15 Jan 2015
Forum: MultiCharts
Topic: Market On Open orders,How to know bar is last bar of session
Replies: 2
Views: 1070

Re: Market On Open orders,How to know bar is last bar of ses

Hi- When using intraday data, early closes will cause issues with Market on open orders along the lines of if time=sessionEndTime then Sell next bar market I have resolved this issue in the past by reading in data that will update what the session's closing time actually was for each day, but I wou...
by TJ
14 Jan 2015
Forum: MultiCharts
Topic: move my limit order to last price and condition
Replies: 17
Views: 4401

Re: move my limit order to last price and condition

sorry, ... I find no references to the use of last price! Maybe that's a hint? Did you miss this line in the description? Notes Quote Fields cannot be referenced historically. I am not saying that is the cause of your problem; whatever is happening to you requires more information and analysis. But...
by TJ
13 Jan 2015
Forum: MultiCharts
Topic: Connectivity problem
Replies: 10
Views: 3476

Re: Connectivity problem

Ok thank you TJ Yes I saw that there is a daily reboot done by IB every day at the same time. Do you know if there is a solution to avoid this reboot of IB server? Rgds, If you are mainly trading ES, you should use the USA server. It does not affect your base currency, or your account for that matt...
by TJ
12 Jan 2015
Forum: MultiCharts
Topic: Connectivity problem
Replies: 10
Views: 3476

Re: Connectivity problem

:: Don't understand the difference between dedicaded server and shared device. Can you give me an example? Thanks for your help A dedicated server is a computer used by one customer only. A VPS is a computer shared by more than one user. Usually it runs on Linux, with Windows overlaid on top of it....
by TJ
12 Jan 2015
Forum: MultiCharts
Topic: Connectivity problem
Replies: 10
Views: 3476

Re: Connectivity problem

::
Are you aware that IB reboots their server once every day?
Yes and I use TWSSTART to change IB auto logoff time
::
Thanks for your help
IB Server Reboot and TWS logoff are 2 different and unrelated things.
by TJ
12 Jan 2015
Forum: MultiCharts
Topic: move my limit order to last price and condition
Replies: 17
Views: 4401

Re: move my limit order to last price and condition

excuse my delay, but I've had a very busy and I could not continue in this study! I tried to write a bit of code, starting with the first step...indicating that for now only have to enter a limit order, this is code: inputs: pointdiff (20), order (false); variables: lastprice (0), differencedown (0...
by TJ
12 Jan 2015
Forum: MultiCharts
Topic: move my limit order to last price and condition
Replies: 17
Views: 4401

Re: move my limit order to last price and condition

::
if I swich ORDER = TRUE, But nothing happens, no order is sent to the market
::
Are you referring to live trading? or backtest?
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: Connectivity problem
Replies: 10
Views: 3476

Re: Connectivity problem

Hello, I send you this mail because a have a little problem with the market data connectivity. So when a connect TWS to Multichart, I have the following error message: -"market data farm connection is broken:cashfarm" -"HMDS data farm connection is broken:euhmds" So in spite the fact that I added m...
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

I have to stop here. I will let others give you a hand.
I will be back later.
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

i put that because i think that if the condition1 wasn't met, then it must not be plot. I know that there are some problem with the "else", both in the first condition and the second. But i don't understand where i wrong and how to write it try this: (see // <-- added ) //:: if swingpoint = true th...
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

note: // <--- is this supposed to be a BEGIN END block? [quote="gian9081"] :: if condition1 then begin min1 = Price[3]; Plot1[RightStrenght]( min1, "swing Low" ); end else // <--- is this supposed to be a BEGIN END block? min1=0; NoPlot ( 1 ); ::
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

Mean you a swingpoint?
If the line of logic gives you the swingpoint, then call it the swingpoint, why call it condition1 ???
What is condition1 anyway? It is not a shampoo?
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

:: condition1 = Price[3]<Price[4] And Price[3]<Price[5] And Price[3]<Price[6] And Price[3]<Price[2] And Price[3]<Price[1] And Price[3]<Price; :: Ask yourself... What are you trying to achieve here? What are you trying to get out of the convoluted logic? After you gave yourself the answer, then repl...
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

sorry if i post the code in the wrong way. I would like to represent in the graph with the plot, points that stand for Price[3] and Price1[3]; i would like to put in sequence like this: Price[3], Price1[3], Price[3], Price1[3], Price[3], Price1[3], ecc. I attached a figure of what i found with a co...
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

ps.
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
11 Jan 2015
Forum: MultiCharts
Topic: How to put in sequence this point?
Replies: 15
Views: 2584

Re: How to put in sequence this point?

Hello, could anyone help me? i would like to represent in sequence, alternating, with the Plot the two point (Price[3] and Price1[3]) that respect the two conditions that were imposed. I hope that someone can help me. I attached the first part of the code. inputs: Price ( Low ), Price1 ( High ), Ri...
by TJ
10 Jan 2015
Forum: MultiCharts
Topic: Volume Profile in Indicator and Market Scanner
Replies: 8
Views: 3609

Re: Volume Profile in Indicator and Market Scanner

Hi all, I learnt that volume profile (VP) is for plotting chart only. There is no power language keyword for VP. I am thinking if it is possible to construct Point of Control (POC) and Value Area (VA) by using dynamic array. The array is 2 dimensional with 3 columns: Price, Ask Vol and Bid Vol. Eve...
by TJ
10 Jan 2015
Forum: MultiCharts
Topic: How Script Works When Bar Magnifier Is Enabled
Replies: 2
Views: 1164

Re: How Script Works When Bar Magnifier Is Enabled

Hi all, I have some problems understanding "Bar Magnifier" when using signal. How does the script work when IOG is enabled, Bar Magnifier is enabled and set to 1 tick on a 1 minute chart? I thought the script should run as many times as the total tick number, but the result shows that it is larger....
by TJ
09 Jan 2015
Forum: MultiCharts
Topic: plotting pivot points
Replies: 1
Views: 951

Re: plotting pivot points

Does anyone know how I can plot Caramilla pivot points? Is there a database of indicators somewhere not included in the standard set?
Thanks
Jim
There are thousands and thousands of EasyLanguage codes on the internet... Google is your best friend.
by TJ
09 Jan 2015
Forum: MultiCharts
Topic: Setting Renko in Multicharts [SOLVED]
Replies: 5
Views: 1947

Re: Setting Renko in Multicharts [SOLVED]

I find Multicharts explanation on setting Renko Box Size and Resolution difficult to understand. Would appreciate a users guide to this please.
THere is an article in wiki explaining the logics behind renko and range bar charts.
by TJ
08 Jan 2015
Forum: MultiCharts
Topic: Data feeds and autotrading results
Replies: 3
Views: 1415

Re: Data feeds and autotrading results

Have others experienced this? When using IB for back testing data on 60 minute charts (1 year) I get good results Same signals/chart/length with IQ feed and the results are way different.. Which is correct? Obviously there is a difference in data from the two which is disappointing. What do others ...
by TJ
08 Jan 2015
Forum: MultiCharts
Topic: How to write basic trade information to file [SOLVED]
Replies: 6
Views: 2247

Re: How to write basic trade information to file [SOLVED]

Hi, I didn't explaining myself very well. I do know the functions and how to write to file, my issue is exactly how to I fire the code off, as it might be an exit that fired or it might have been an entry that fired. And I might have an exit and entry fire at the same time, how do I ensure that the...
by TJ
08 Jan 2015
Forum: MultiCharts
Topic: How to write basic trade information to file [SOLVED]
Replies: 6
Views: 2247

Re: How to write basic trade information to file [SOLVED]

Hi, I am new to MC. what is the cleanest way to write trade information to file, as it compiles in the chart? I am looking for basic information, which can be found in existing functions. I am looking for something that will emulate the List of trades, found in performance summary. Just basic trade...
by TJ
08 Jan 2015
Forum: MultiCharts
Topic: Getting Started with Portfolio Trader
Replies: 2
Views: 1211

Re: Getting Started with Portfolio Trader

I am starting a FAQ here:

[FAQ] Portfolio Trader / Portfolio Backtester
viewtopic.php?f=16&t=47045
by TJ
07 Jan 2015
Forum: MultiCharts
Topic: What is Piv Ext signal logic ?
Replies: 1
Views: 973

Re: What is Piv Ext signal logic ?

hi
What is the logic behind the piv ext signal in MC ?
::
shane
Have you opened the code?
What do you see?
Is there any particular keyword/function that you need help on?
by TJ
05 Jan 2015
Forum: MultiCharts
Topic: Pesavento indicator (how to convert it into a signal)
Replies: 4
Views: 1897

Re: Pesavento indicator (how to convert it into a signal)

Hi, I've been using this Pesavento indicator that was generously posted in this forum by Andrew Kirillov: http://www.multicharts.com/discussion/viewtopic.php?t=5017 ...The code is a bit over my head... :: EasyLanguage is a Procedural Language. ie. it executes its instructions in Step-by-Step Proced...
by TJ
05 Jan 2015
Forum: MultiCharts
Topic: Pesavento indicator (how to convert it into a signal)
Replies: 4
Views: 1897

Re: Pesavento indicator (how to convert it into a signal)

Hi, I've been using this Pesavento indicator that was generously posted in this forum by Andrew Kirillov: http://www.multicharts.com/discussion/viewtopic.php?t=5017 Among other things, it identifies swings/pivots and draws them on the chart. The code is a bit over my head, but I would like to be ab...
by TJ
05 Jan 2015
Forum: MultiCharts
Topic: Last Close Position Reference
Replies: 4
Views: 1540

Re: Last Close Position Reference

Hi, Can anybody help me to code the following? - If last close position is winner (Netprofit>0 or Positionprofit(1)>0), next trading signal would skip once. And, follow the signal after the signal come out again. - If last close position is loser (Netprofit<0 or Positionprofit(1)<0), follow the nex...
by TJ
04 Jan 2015
Forum: MultiCharts
Topic: Looking for a daily range indicator
Replies: 1
Views: 1207

Re: Looking for a daily range indicator

hi there, im looking for an indicator that measures the average daily range (from high to low) over a period of time (input). I want the Indicator to alert whenever the current days range of a stock meets the average daily range so i can take a look at the asset for either a mean-reversion play or ...
by TJ
03 Jan 2015
Forum: MultiCharts
Topic: Monitor Account Size and trading results [SOLVED]
Replies: 9
Views: 2554

Re: Monitor Account Size and trading results [SOLVED]

Thanks TJ. Those variable names were used exceptionally. It is not an issue in a small if condition. I think I roughly read the article in the Wiki. But will consider it again. I am testing a system with the ES and use target limit and stop loss orders. I would understand if the results differ in t...
by TJ
03 Jan 2015
Forum: MultiCharts
Topic: Monitor Account Size and trading results [SOLVED]
Replies: 9
Views: 2554

Re: Monitor Account Size and trading results [SOLVED]

Have you read this article in Wiki?

Why is Data Playback strategy performance different from Backtesting results?
by TJ
03 Jan 2015
Forum: MultiCharts
Topic: Monitor Account Size and trading results [SOLVED]
Replies: 9
Views: 2554

Re: Monitor Account Size and trading results [SOLVED]

not into debugging yet...

First step:

Get rid of those value1 value2, condition1, etc.,
and replace them with meaningful variable names.

Variable names are free...
Meaningful variable names can help you avoid errors, and speed up debugging.
by TJ
02 Jan 2015
Forum: MultiCharts
Topic: Autotrading not submitting orders to IB
Replies: 11
Views: 3318

Re: Autotrading not submitting orders to IB

Hi TJ, I am using a dedicated headless system in my network, which I am logging into via Remote Desktop. Not sure that is the remote system you had in mind. Or did I completely misunderstand your question? Thank you, best regards, Felix Well... anything that is not in front of you is "remote". A he...
by TJ
02 Jan 2015
Forum: MultiCharts
Topic: Autotrading not submitting orders to IB
Replies: 11
Views: 3318

Re: Autotrading not submitting orders to IB

are you using a remote server?
by TJ
31 Dec 2014
Forum: MultiCharts
Topic: stop loss and IOG
Replies: 5
Views: 1816

Re: stop loss and IOG

sorry for my english so,after 1 month I have still not set stoploss.... someone could really help me please? and the :intrabarordergeneration=I have to put it in ts in real time or in backtest? thanks There are 2 ways to make a stoploss... 1. MultiCharts' built-in Global Exits -- use the keyword SE...
by TJ
30 Dec 2014
Forum: MultiCharts
Topic: esignal data feed with IB as broker
Replies: 2
Views: 1472

Re: esignal data feed with IB as broker

I would like to use esignal as data feed for hang seng index future and IB as trading broker. I tried to insert both data source into one single chart. I found there is time different of the two data as shown in the attached captured picture. If I want to use esignal as data feed and IB as broker, ...
by TJ
28 Dec 2014
Forum: MultiCharts
Topic: Help! Different OHLCV values in Signal vs. Indicator!
Replies: 2
Views: 1173

Re: Help! Different OHLCV values in Signal vs. Indicator!

Hi all, I am very surprised and perplexed to see the following: When I compare the 1 Minute bars of CME GC, from Signal vs. Indicator, I got the following different values: Singal: 1140220 43800 1314.4 1314.4 1313.1 1313.4 96 Indicator: 1140220 43800 1314.4 1314.5 1313.1 1313.4 96 There are a lot o...
by TJ
24 Dec 2014
Forum: MultiCharts
Topic: Multicharts on MAC
Replies: 5
Views: 9212

Re: Multicharts on MAC

Hi there,
As more and more of my trading friends are using MAC. May I know could we see Mac version Multicharts in the near future? Thanks.

Charles

Usage_share_of_operating_systems

http://en.wikipedia.org/wiki/Usage_shar ... ng_systems
by TJ
24 Dec 2014
Forum: MultiCharts
Topic: Multicharts on MAC
Replies: 5
Views: 9212

Re: Multicharts on MAC

Hi there,
As more and more of my trading friends are using MAC. May I know could we see Mac version Multicharts in the near future? Thanks.

Charles
This has been asked recently
viewtopic.php?f=1&t=47573
by TJ
23 Dec 2014
Forum: MultiCharts FAQ
Topic: [FAQ] Autotrade / Backtest / Optimization
Replies: 23
Views: 39434

19) Trading Multiple Instruments

[FAQ] Trading Multiple Instruments Hello, By default from one chart you can trade only the instrument that is the main data series. You cannot send orders to any additional data series of the same chart. You need to have an individual chart for each instrument you want to trade. That is possible to...
by TJ
23 Dec 2014
Forum: MultiCharts
Topic: Best training of Portfoio Trader please?
Replies: 3
Views: 1427

Re: Best training of Portfoio Trader please?

Can anyone help me in where I can find good training videos (if possible) on MC Portfolio Trader functionality
No video yet...

but some examples and discussions might help:

[FAQ] Portfolio Trader / Portfolio Backtester
viewtopic.php?f=16&t=47045
by TJ
21 Dec 2014
Forum: MultiCharts
Topic: saving workspace and desktop settings on close [SOLVED]
Replies: 2
Views: 1353

Re: saving workspace and desktop settings on close [SOLVED]

Is there a way to automatically save the workspace and desktop settings when you close the program? Seems like when I make a change i.e. changed the chart resolution from minute to tick, I have to make that change again when I start up a new session. Am I missing something? Jim from the main menu F...
by TJ
20 Dec 2014
Forum: MultiCharts
Topic: Global variable (GV) for real-time only (not for backtest)?
Replies: 4
Views: 2088

Re: Global variable (GV) for real-time only (not for backtes

Hello, in 1 workspace with 2 charts (Chart1: Tick, Chart2: 5 min.) I would like to transfer an entry condition from Chart2 to Chart1 strategy via a GV. Does this work in backtest or only in real-time? Is there any way to realize this approach for backtesting? Thanks & regards, Fredi >Does this work...
by TJ
19 Dec 2014
Forum: MultiCharts
Topic: Order submission lagging
Replies: 30
Views: 13479

Re: Order submission lagging

Thanks Orion - It is apparent that you know significantly more about this stuff than I do. I agree that "Generated" is a misnomer and think you suggestion is valuable to break out when the order was issued and when the broker confirmed. Our objective here is to find the source of the delay and (if ...
by TJ
19 Dec 2014
Forum: MultiCharts
Topic: Trade Through Lines
Replies: 2
Views: 1405

Re: Trade Through Lines

First, get rid of those Value1, Value2, etc., The "Value1" is used for illustration purpose in the manuals. In real life, please create a meaningful name for each variables. eg. TL1, TL2, or TL.highside, TL.lowside, etc. Using meaningful variable names will speed up your coding effort, minimize erro...
by TJ
18 Dec 2014
Forum: MultiCharts
Topic: NYSE Advance Decline at Interactive Broker
Replies: 2
Views: 2348

Re: NYSE Advance Decline at Interactive Broker

hi, Is there anyway i can plot NYSE advance decline line with IB data? I use AD-NYSE at interactive broker. Anyways, i plotted 2 charts. One for advance and the other for decline. Is there any study i can use to have have advance minus decline? As a side note, IB do not have historical data for thi...
by TJ
18 Dec 2014
Forum: MultiCharts
Topic: Order submission lagging
Replies: 30
Views: 13479

Re: Order submission lagging

I realize this has been discussed in a now locked topic, but there was no resolution. I have been experiencing this for a long time and have not received a conclusion from Multicharts, although they have examined my logs, etc. numerous times. Since a large portion of users are now realizing that th...
by TJ
18 Dec 2014
Forum: MultiCharts
Topic: limit order in real word is different with Backtest
Replies: 8
Views: 2058

Re: limit order in real word is different with Backtest

Hi, I trade Forex in IB with MC using limit order. However, I find the limit order which MC sent to IB is totally different with the MC real time simulation or back test. (MC real time simulation and back test result is the same. ) How could I make the created limit order is exactly the same with s...
by TJ
17 Dec 2014
Forum: MultiCharts
Topic: IntraBar order
Replies: 8
Views: 2296

Re: IntraBar order

Hi, Tj! Thanx for you reply. I've added [IntrabarOrderGeneration=True]. But it won't helped, same trouble - open position at close or at open. Do you have some simple example of IOG? If this is a back test, please study the following article to understand how orders are filled in backtesting: How S...
by TJ
17 Dec 2014
Forum: MultiCharts
Topic: IntraBar order
Replies: 8
Views: 2296

Re: IntraBar order

Hi! I am new to Multicharts, trying to make simple strategy with Point and Figures. I don't understand how to make intra bar execution. my code: if (Low[1] < Low AND (High[1]+Slip) < CurrentBid) then Buy ("X") NumOfLots Contract Next Bar At (High[1]+Corr1) stop ; http://s16.postimg.org/74tyjb64l/pn...
by TJ
16 Dec 2014
Forum: MultiCharts
Topic: Monitoring Autotrading
Replies: 4
Views: 1326

Re: Monitoring Autotrading

Hello, :: The processes listed here (https://www.multicharts.com/trading-software/index.php/MultiCharts_Processes) seeming to be not involved / not sufficient. :: Fredi Can you expand on your meaning of "not involved / not sufficient" ? They can mean different things to different people, and don't ...
by TJ
15 Dec 2014
Forum: MultiCharts
Topic: Is there any option for disable pop-up notification ? [SOLVED]
Replies: 10
Views: 2865

Re: Is there any option for disable pop-up notification ? [SOLVED]

I am a manual trader, so too many pop-up notification trouble me when i have to click it for closing it. Although it can be auto-disappear , it block the chart information behind it. If you don't want the pop-ups, you can disable them. ps to MultiCharts: It would be nice if we can set the pop-ups t...
by TJ
15 Dec 2014
Forum: MultiCharts
Topic: how to create stoploss and trailing stop with.....
Replies: 20
Views: 8740

Re: how to create stoploss and trailing stop with.....

hallo pleasesay how can I create my own stoploss and trailing stop orders using stop limit orders? someone could please ,say how to do it? Creating your own exit orders is no different than writing the entry order -- you have to know your syntax, and you have to have a workable logic. [/img] Hello ...
by TJ
14 Dec 2014
Forum: MultiCharts
Topic: auto trading overfilling orders problem
Replies: 3
Views: 1203

Re: auto trading overfilling orders problem

[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
12 Dec 2014
Forum: MultiCharts
Topic: Latency. Please share experiences.
Replies: 77
Views: 26344

Re: Latency. Please share experiences.

You can make an improvement proposal to MultiCharts:

https://www.multicharts.com/pm/
by TJ
12 Dec 2014
Forum: MultiCharts
Topic: Latency. Please share experiences.
Replies: 77
Views: 26344

Re: Latency. Please share experiences.

I believe powerlanguage is interpreted so that alone slows down the execution. The latency caused by sending orders 1 tick later than they could be is not due to whether PL is a interpreted language. :: The PowerLanguage indicators/strategies in MultiCharts are compiled. You can see the difference ...
by TJ
11 Dec 2014
Forum: MultiCharts
Topic: Update last version from 1 december
Replies: 3
Views: 1327

Re: Update last version from 1 december

8 of December, I had to install the version 9 of Multicharts 9 of December had windows update 8 10 Decembre Multicharts self deleted from notebook How could MultiCharts self deleted itself? or did you merely lost the icon on the desktop? Do you have anti-virus protection? Have you checked the file ...
by TJ
11 Dec 2014
Forum: MultiCharts
Topic: How to get a value for an ATR stop?
Replies: 14
Views: 3326

Re: How to get a value for an ATR stop?

Hi ABC and TJ,

This is a part of the code.
It's my first code ever so i am curious what your findings are.
::
Regards,
Erik
Have you read and understood my post #10 ?
by TJ
11 Dec 2014
Forum: MultiCharts
Topic: how to create stoploss and trailing stop with.....
Replies: 20
Views: 8740

Re: how to create stoploss and trailing stop with.....

hallo pleasesay how can I create my own stoploss and trailing stop orders using stop limit orders? someone could please ,say how to do it? Creating your own exit orders is no different than writing the entry order -- you have to know your syntax, and you have to have a workable logic. My suggest wo...
by TJ
11 Dec 2014
Forum: MultiCharts
Topic: how to create stoploss and trailing stop with.....
Replies: 20
Views: 8740

Re: how to create stoploss and trailing stop with.....

hallo
pleasesay how can I create my own stoploss and trailing stop orders using stop limit orders?
someone could please ,say how to do it?
EasyLanguage Essentials Programmers Guide

Creating Trading Strategies
Strategy Order Syntax ..... pg 80
by TJ
11 Dec 2014
Forum: MultiCharts
Topic: How to get a value for an ATR stop?
Replies: 14
Views: 3326

Re: How to get a value for an ATR stop?

ABC, Thank you for your input, :: This is my takeprofit: [IntrabarOrderGeneration=False] if marketposition = -1 and CloseD (0) < entryprice then begin buytocover ("rsishortprofit") next bar; end; When the position is closed by this takeprofit then the stoplossorder must be removed/deleted for it ha...
by TJ
10 Dec 2014
Forum: MultiCharts
Topic: LOW IN jAN CRUDE
Replies: 1
Views: 911

Re: LOW IN jAN CRUDE

Does anyone know why the low in Jan. crude is 60.43 at 11.50 and on my multi charts it had a low of only 60.46? It is possible that your dataprovider has aggregated the ticks. What MultiCharts received was a snapshot of the market, and the snapshot at that moment was 60.46. Who is your dataprovider...
by TJ
10 Dec 2014
Forum: MultiCharts FAQ
Topic: [FAQ] MultiCharts
Replies: 19
Views: 36441

(16) How to AutoTrade with IB, but using a different Data provider

(16) [FAQ] How to AutoTrade with IB, but using a different Data provider

Symbol Mapping
https://www.multicharts.com/trading-sof ... ol_Mapping



Image
by TJ
10 Dec 2014
Forum: MultiCharts
Topic: barstatus in precision testing
Replies: 10
Views: 2581

Re: barstatus in precision testing

Using MC 8.

In the chart, I have set,
Series 1 = Bid price
Series 2 = Ask price
Series 3 = 1min bar
::
MM
What are the chart resolutions for series 1 and series 2?
by TJ
09 Dec 2014
Forum: MultiCharts
Topic: Trading one symbol with two strategies
Replies: 32
Views: 7876

Re: Trading one symbol with two strategies

Hi. I would expect that something has been written somewhere about this, but I'm having a difficult time turning it up either on the Forum or in the Wiki. Trading from Multiple Charts on One Instrument https://www.multicharts.com/trading-software/index.php/Trading_from_Multiple_Charts_on_One_Instru...
by TJ
09 Dec 2014
Forum: MultiCharts
Topic: Trading one symbol with two strategies
Replies: 32
Views: 7876

Re: Trading one symbol with two strategies

Hi. I have a strategy I would like to apply twice to the same symbol (with different settings) and have it auto-trade. My goal could be thought of as having a short-target strat and a long-target strat both active at once (but not necessarily entering at the same time). I'm willing to put two strat...
by TJ
09 Dec 2014
Forum: MultiCharts
Topic: Plot open line in range bar chart
Replies: 3
Views: 1073

Re: Plot open line in range bar chart

ps.
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
09 Dec 2014
Forum: MultiCharts
Topic: Plot open line in range bar chart
Replies: 3
Views: 1073

Re: Plot open line in range bar chart

assume market open at 09:15:00 inputs: Price( Close ), Displace( 0 ); variables: Open_today(0); if time_s>091500 and time_s<=161500 then begin if time_s[1]<091500 and time>=0915000 then open_today=open; end; condition1 = Displace >= 0 or CurrentBar > AbsValue( Displace ) ; if condition1 then Plot1[...
by TJ
09 Dec 2014
Forum: MultiCharts
Topic: MC 9.1 beta as Christmas gift
Replies: 6
Views: 2164

Re: MC 9.1 beta as Christmas gift

Depends how you behaved this year... :-) All of us love MC, so I guess that answers your question :) However, since you didn't answer my question, so I assume you guys are in no position to give an indicative release date...that a dampener for my Christmas ! From my past observation... MultiCharts ...
by TJ
09 Dec 2014
Forum: MultiCharts
Topic: ABC
Replies: 20
Views: 4537

Re: ABC

::
if MarketPosition = 1 then
SetBreakeven( 30 ) ;
see post #5
viewtopic.php?f=16&t=10811



ps. for code tags, please click on the

Code: Select all

[/b] button, not the "Quote" button.
by TJ
08 Dec 2014
Forum: MultiCharts
Topic: Latency. Please share experiences.
Replies: 77
Views: 26344

Re: Latency. Please share experiences.

Hi Gerler that is pretty amazing time saving - any chance you can share your methodology Thanks. I think that anyone choosing to write directly to any broker's API is going to send their order on the tick that satisfies their chosen set of conditions rather than wait to send it on the following tic...
by TJ
08 Dec 2014
Forum: MultiCharts
Topic: Looking for a journal / diary software application
Replies: 6
Views: 3097

Re: Looking for a journal / diary software application

Hello

I'm looking for suggestion for a journal / diary / log book where I could write
- Idea
- Entry / exit date etc
- Paste or link snap picture
- Do report / stat.
Any idea on such software, other than Excel sheet

Martin
https://wordpress.com/
by TJ
06 Dec 2014
Forum: MultiCharts
Topic: ABC
Replies: 20
Views: 4537

Re: ABC

ps. [FAQ] How to Post Codes (that people can read) https://www.multicharts.com/discussion/viewtopic.php?f=16&t=11713 thanks for answer... as I said ,I have a lot diffucukt to set right any ts.... I think for you or others people my ts take only 10 minutes to set up!!! I have still 20days trial and ...
by TJ
06 Dec 2014
Forum: MultiCharts
Topic: Erasing vertical lines only
Replies: 7
Views: 1679

Re: Erasing vertical lines only

Good day J.

Manually draw with the Time Line tool.
I want to erase them with the code, not manually

Martin
1. Find the TL
2. Identify the ID
3. TL_delete
by TJ
06 Dec 2014
Forum: MultiCharts
Topic: ABC
Replies: 20
Views: 4537

Re: ABC

ps.
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
06 Dec 2014
Forum: MultiCharts
Topic: ABC
Replies: 20
Views: 4537

Re: ABC

hello I post my ts and I just want insert stop loss...and trailingprofit!!! I would that my entry would be 3-4 ticks from price as well!! and I would know how sell with take profit 1 or 2 contract in twice!!! ------------------- [LegacyColorValue = TRUE]; inputs: ATRLength(2), ATRMult(2.1), UpColor...
by TJ
05 Dec 2014
Forum: MultiCharts
Topic: Erasing vertical lines only
Replies: 7
Views: 1679

Re: Erasing vertical lines only

Hello
I may be tired, but I just don't figure how I could erase only vertical lines one my charts
Martin
What do you mean vertical lines?

Manually drawn lines?

or from an indicator?
drawing object? or plot?
by TJ
05 Dec 2014
Forum: MultiCharts
Topic: MultiCharts Optimization Speed
Replies: 54
Views: 21372

Re: MultiCharts Optimization Speed

TJ, Thanks but I doubt my computer is swapping anything from pagefile :: Is there any way I can measure how much my computer is swapping? Thanks. Good advice is very much appreciated here. Open your resmon... Look at the Hard Faults/sec graph. It will tell you how many times an application has fail...
by TJ
04 Dec 2014
Forum: MultiCharts
Topic: MultiCharts Optimization Speed
Replies: 54
Views: 21372

Re: MultiCharts Optimization Speed

Why do you have RAM cache off? I am still running MC 32 bit (it doesn't support RAM cache). I have 4GB RAM. I figured putting a SSD into my system will be the best bang for buck as far as upgrading my system is concerned. Even if I move to MC 64 (which supports RAM Cache ON), with only 4 GB RAM I a...
by TJ
04 Dec 2014
Forum: MultiCharts
Topic: The output values in editor do not match with the chart
Replies: 6
Views: 2118

Re: The output values in editor do not match with the chart

Without seeing your code, it's hard to tell exactly what's going wrong. If you want to post the code (while removing any proprietary secrets), that would help in troubleshooting this. As an aside, I have never really trusted the "crosses below" command. What I do, instead, is see whether the previo...
by TJ
04 Dec 2014
Forum: MultiCharts
Topic: data questions
Replies: 8
Views: 2946

Re: data questions

Over the past few years I have collected quality tick data from a datafeed vendor. Unlike TS who I also use, this datafeed provider does not provide continuous futures. I set up custom continuous futures in QM. Questions: 1. Unlike exporting TS continuous futures data from QM, I am not able to expo...
by TJ
04 Dec 2014
Forum: MultiCharts
Topic: The output values in editor do not match with the chart
Replies: 6
Views: 2118

Re: The output values in editor do not match with the chart

Hi there, I got two instruments on the same chart. Both are HSIZ14, data1 is in 1 min and data2 is in 5 mins(which is hidden). And I got MACD on data2 and its parameters are (12, 26, 9) which forms as an exit signal if MACDdivergence crosses under zero. Its coding is as following: If MACDDivergence...
by TJ
03 Dec 2014
Forum: MultiCharts
Topic: Opération en Virgule flottante
Replies: 4
Views: 1543

Re: Opération en Virgule flottante

ps.
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
03 Dec 2014
Forum: MultiCharts
Topic: Opération en Virgule flottante
Replies: 4
Views: 1543

Re: Opération en Virgule flottante

Thank you for your answer . OK for the forex . But GCZ5 has volume , and VWAP is possible with charts in Minutes or Hours , but not with charts in RANGECANDLE . Why ? Thank you What do you mean by "but not with charts in RANGECANDLE." ? What exactly does not work? What is the range parameters? Can ...
by TJ
03 Dec 2014
Forum: MultiCharts
Topic: Opération en Virgule flottante
Replies: 4
Views: 1543

Re: Opération en Virgule flottante

Hello , Please excuse me for my English. This is the code of VWAP . On the charts in Minutes or Hours , it's OK. On the charts in RANGECANDLE , it's ok for YM Dec14 and FDAX Dec14 (IB code), but for GCZ5 (gold) and EUR.USD , I see this message : Message ;Error in study "VWAPbis(EUR.USD-2Point)"; {E...
by TJ
02 Dec 2014
Forum: MultiCharts
Topic: Looking for help with exit strategy
Replies: 9
Views: 1706

Re: Looking for help with exit strategy

::
What I'm trying to do is this: set the Amount of Profit field to something reasonable, and have the stop-loss set to protect 50% of profits. Every time I try to do this, it fails.
::
Can you explain what do you mean by "it fails"?
by TJ
02 Dec 2014
Forum: MultiCharts
Topic: MC PL vs .NET version - possibilities and challenges
Replies: 12
Views: 4718

Re: MC PL vs .NET version - possibilities and challenges

Folks who use both PL and .NET version of MC: It will be awesome if some of you can take time and write in detail (with examples) about the advantages of .NET version over PL version and what kind of time commitment a very comfortable user of PL will face (who is not conversant with .NET framework)...
by TJ
01 Dec 2014
Forum: MultiCharts
Topic: Study on Study : wrong input expression
Replies: 3
Views: 1374

Re: Study on Study : wrong input expression

Hello when i insert a study on a study, with some indicators, i have the error " wrong input expression", with others no problems Where is the problem? thank you Nuno Please post a screenshot. Which indicator? What is the add on study? What are the input parameters? What is the symbol and chart res...
by TJ
29 Nov 2014
Forum: MultiCharts
Topic: Black Friday Sale?
Replies: 7
Views: 4739

Re: Black Friday Sale?

Season's Greetings and Best Price Offerings from MultiCharts! Save $500 ($1497 regular) on each Lifetime License right now: Purchase MultiCharts for only $997! Purchase MultiCharts .NET for only $997! If you already have a Lifetime License you can get an additional one with 50% off discount! Please...
by TJ
28 Nov 2014
Forum: MultiCharts
Topic: PL Editor in MCFX [SOLVED]
Replies: 7
Views: 2645

Re: PL Editor in MCFX [SOLVED]

It turns out that everything works fine on my laptop install of MCFX, but not on my main desktop; so any problem is on my end of things... Maybe the desktop install file was corrupted somehow... I'll try reinstalling from the install file I used on the laptop... Make sure you are running the progra...
by TJ
27 Nov 2014
Forum: MultiCharts
Topic: PL Editor in MCFX [SOLVED]
Replies: 7
Views: 2645

Re: PL Editor in MCFX [SOLVED]

I have a few custom indicators that I use every day in MC64 (thanks to this forum); I installed MCFX and I would like to use those same custom indicators in MCFX. But when I copy and paste the PL code from MC64 PL Editor into the MCFX PL Editor, it will only compile with errors. I've tried uninstal...
by TJ
27 Nov 2014
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 33262

Re: Memory leak

I upgraded to MC9.0 last week. Same workspaces, but memory consumption has worsened. I turned on file cache yesterday and still tsserver.exe usage climbs at the rate of 0.1mb per second until I'm forced to restart MC. Any tips? I would give the following test a try... 1. load one wsp first, wait a ...
by TJ
26 Nov 2014
Forum: MultiCharts
Topic: same tick - sevral (unexpected) event results [SOLVED]
Replies: 9
Views: 2232

Re: same tick - sevral (unexpected) event results [SOLVED]

@TJ

Awesome! added High > Low and that indeed fixed this! you rock! :)
many thanks!!
YW
by TJ
26 Nov 2014
Forum: MultiCharts
Topic: same tick - sevral (unexpected) event results [SOLVED]
Replies: 9
Views: 2232

Re: same tick - sevral (unexpected) event results [SOLVED]

Hi TJ, I'm using Candlestick and 1 second resolution. Please post a larger screenshot... with more bars on the left of the text objects. is this good? Can you see all the empty bars? The text for those bars will be posted to the next bar. Try a different resolution... bars with valid data, and bars...
by TJ
26 Nov 2014
Forum: MultiCharts
Topic: same tick - sevral (unexpected) event results [SOLVED]
Replies: 9
Views: 2232

Re: same tick - sevral (unexpected) event results [SOLVED]

Hi TJ,
I'm using Candlestick and 1 second resolution.
Please post a larger screenshot... with more bars on the left of the text objects.
by TJ
26 Nov 2014
Forum: MultiCharts
Topic: same tick - sevral (unexpected) event results [SOLVED]
Replies: 9
Views: 2232

Re: same tick - sevral (unexpected) event results [SOLVED]

Hi all, :: Can anyone explain the logic behind this? I was under the impression that each candle fires the script only once.. Thank you all in advance, Best, R. What type of bar are those? What is the resolution? If you have bars with H=L, the text object will be drawn on the next bar that is H<>L.
by TJ
26 Nov 2014
Forum: MultiCharts
Topic: erasing and redrawing a retracement area square [SOLVED]
Replies: 6
Views: 1678

Re: erasing and redrawing a retracement area square [SOLVED]

excellent idea; if I then choose not to expand the scale to indicators (in the instrument menu), the zero values will not show!
Thanks a lot TJ
YOu are welcome.

Enjoy!
by TJ
25 Nov 2014
Forum: MultiCharts
Topic: erasing and redrawing a retracement area square [SOLVED]
Replies: 6
Views: 1678

Re: erasing and redrawing a retracement area square [SOLVED]

ps.
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
25 Nov 2014
Forum: MultiCharts
Topic: erasing and redrawing a retracement area square [SOLVED]
Replies: 6
Views: 1678

Re: erasing and redrawing a retracement area square [SOLVED]

Thanks for your reply. Here is a picture of my chart: http://screencast.com/t/AHvAuIge65o The green area squares are drawn each time a new high in the upswing happens. I need only the latest ones in the upswings shown, not all of them. Here is my code: Inputs:tv(0.01); vars: h00(H),h00bn(1),L00bn(1...
by TJ
25 Nov 2014
Forum: MultiCharts
Topic: problem using indicator and signal for range bar chart
Replies: 1
Views: 816

Re: problem using indicator and signal for range bar chart

I tried insert some build in indicator and signal into a range bar chart, but nothing was shown. how can I solve this problem? YOu have to give some specific examples before someone can help you in your specific situation. e.g. what are the indicators and signals you tried? what symbols? what type ...
by TJ
25 Nov 2014
Forum: MultiCharts
Topic: Sharing variables between studies? [SOLVED]
Replies: 6
Views: 1652

Re: Sharing variables between studies? [SOLVED]

@Smoky
many thanks for your quick reply!
I've added the Data sources as hidden to my main chart but how do i read it from my study?
TIA!!!
See post #4
(4) [FAQ] Multiple time frame, Multi-Data Analysis
viewtopic.php?f=16&t=6929
by TJ
25 Nov 2014
Forum: MultiCharts
Topic: erasing and redrawing a retracement area square [SOLVED]
Replies: 6
Views: 1678

Re: erasing and redrawing a retracement area square [SOLVED]

From past history I calculate a projected retracement area from the current upswing and I need it to be redrawn every time this upswing has a new high. The problem I do not know how to solve is how to erase the old plot when a new upswing high is happening - I need to see only the current projected...
by TJ
24 Nov 2014
Forum: MultiCharts
Topic: Drawing rectangular shapes [SOLVED]
Replies: 3
Views: 1159

Re: Drawing rectangular shapes [SOLVED]

Hi Team, Has anyone noticed when drawing a rectangular shape that covers more than current bar on a non time based chart, for example a volume based chart, the rectangle you just drew tend to shrink in length as the more bars are being printed on the chart in real time ? Whereas if you draw rectang...
by TJ
24 Nov 2014
Forum: User Contributed Studies and Indicator Library
Topic: Re-Plotting High of the Day
Replies: 8
Views: 5211

Re: Erasing existing plot lines

Not being a programmer, I came across a situation that I can't figure out.. I have a study that plots from the times 0100 to 0700, AFTER 0700, I want to remove the old study and replace it with a new one... How can I turn the "status off " of a study or erase its previous plot completely ?? Would t...
by TJ
24 Nov 2014
Forum: MultiCharts
Topic: Projecting Study Value Forward
Replies: 1
Views: 714

Re: Projecting Study Value Forward

Dear Support & Community, I have a study that has a one bar lag and i would like to project that study value forward one bar. This will help with a strategy and alerts which currently are delayed. Does anyone know how to do this?? Thank You Racerx You can use the Bollinger Bands indicator code as e...
by TJ
24 Nov 2014
Forum: MultiCharts
Topic: Help with RSI(2) code [SOLVED]
Replies: 3
Views: 1475

Re: Help with RSI(2) code [SOLVED]

Hello, I'm having difficulty using old code for a new study. I'd like to use it as a paintbar type of study (code below) and as code to be included in a Signal. The paintbar code doesn't plot: inputs: RSI(2),Color (Green) ; If RSI >99 Then PlotPaintBar(High, Low, Open, Close, "RSI(2)>99", Color); I...
by TJ
23 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

For further readings on MaxBarsBack, google for the following free ebooks: The TS Technologies EasyLanguage Reference Guide Getting Started with TS EasyLanguage These are for TS version 6. They are old texts (2001), but the principles have not changed. http://www.tradersxchange.com/viewtopic.php?f=5...
by TJ
23 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

Hi TJ, Thanks again for your follow-up. As said before, I think I understand what MaxBarsBack is doing and I agree with your picture. I am not sure how to use that information to solve my problem though. Let's assume a line of code like this: HH = Highest(High, 20) Here it is quite clear that I wil...
by TJ
22 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

Sadly, just pointing any explanation to a Wiki without thinking about it is correct or not doesn't help anybody nor yourself. Sadly again, MaxBarsBack is screwed up and it is handled wrong, it is miscalled and full of errors & mistakes. After talking with some experienced MC/PL users, later I will ...
by TJ
22 Nov 2014
Forum: MultiCharts
Topic: FastK (2) signal
Replies: 3
Views: 1393

Re: FastK (2) signal

I am new to the program multicharts. how can one write a signal that buy on FastK (2) falls below 30 on today's closing price. Exit when the FastK (2) rises above 70 on the closure. Ulf THis is a good place to start: [FAQ] EasyLanguage Start here if you want to program your own analysis. Getting St...
by TJ
22 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

Hi TJ, From what I have seen, MaxBarsBack only auto-adjusts to about 50. Unfortunately, I need more than that. Also, that is not fully solving my problems. I am not only referencing bars in the past (which MaxBarsBack allows me to do), but I also need to reference results from previous calculations...
by TJ
22 Nov 2014
Forum: MultiCharts
Topic: time control of tick bar chart [SOLVED]
Replies: 3
Views: 1145

Re: time control of tick bar chart [SOLVED]

e.g if I want to make a buy signal at 1200, then should I write it as follow in tick bar 1. If time_s=120000 then buy 1 contract next bar at market? 2. or should be if if time_s[1]<120000 and time_s>120000 then buy 1 contract next bar at market? if time_s[1]<120000 and time_s >= 120000 then buy 1 c...
by TJ
21 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

Set MaxBarsBack to Auto.
MultiCharts will automatically take care of the number of bars required for your indicator calculations.
Unless you have a specific reason, there is no need to change this "Auto" setting.
by TJ
21 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

Hi Ben, Hi TJ, thank you so much for both your detailed responses. I am sorry for not getting back earlier, but I was traveling for business... I think I have understood MaxBarsBack and CurrentBar, thanks for your explanations. However, I'd like to go back to my original question. How can I control...
by TJ
21 Nov 2014
Forum: MultiCharts
Topic: "Build on Minute" vs "Bar Magnifier 1 minute" [SOLVED]
Replies: 11
Views: 3803

Re: "Build on Minute" vs "Bar Magnifier 1 minute" [SOLVED]

Hi Andrew. Thanks for dealing with me. I understand the "Build from Minutes" is needed for custom applied sessions settings to build a custom bar. I get that. What I don't get is this: If I have a daily bar of the ES built from the default QM "Use Symbol Dictionary Sessions" , if I check Build From...
by TJ
21 Nov 2014
Forum: MultiCharts
Topic: move my limit order to last price and condition
Replies: 17
Views: 4401

Re: move my limit order to last price and condition

ps. Get rid of those generic variable names (ie var0, var1, condition1, etc.).
Declare a meaningful name for each variable, you will save much debug time in the future.
by TJ
21 Nov 2014
Forum: MultiCharts
Topic: move my limit order to last price and condition
Replies: 17
Views: 4401

Re: move my limit order to last price and condition

ok, then I think we can do without any problems. please let me explain how you can specify the initial code (for now without further conditions), with these steps: 1- I have the last price of the security 2- enter a limit order 20 points below this last price 3- if the last price becomes less than ...
by TJ
21 Nov 2014
Forum: MultiCharts
Topic: time control of tick bar chart [SOLVED]
Replies: 3
Views: 1145

Re: time control of tick bar chart [SOLVED]

I am writing a signal for a tick bar chart. should I use time_s instead of time for time control of the strategy? or both time_s or time is also function-able for tick bar chart?
Please see
viewtopic.php?f=1&t=47556
by TJ
21 Nov 2014
Forum: MultiCharts
Topic: move my limit order to last price and condition
Replies: 17
Views: 4401

Re: move my limit order to last price and condition

I want to try something a little bit special, but I do not know if it is possible to achieve and how! for now I just want to do some simple tests and then put this code in more complex codes, so I start with a simple request to find out if it is possible to be realized or not. for now I want to mak...
by TJ
20 Nov 2014
Forum: MultiCharts
Topic: "Build on Minute" vs "Bar Magnifier 1 minute" [SOLVED]
Replies: 11
Views: 3803

Re: "Build on Minute" vs "Bar Magnifier 1 minute" [SOLVED]

No, it doesn't (directly) affect the strategy calculation. Sorry, but it's still unclear. Below are two Strategy Reports of the same instrument (@ES#) same strategy, using the Default daily bar session as specified in QM. Quote field is "Trade". The one on the right uses " Build From Minutes". The ...
by TJ
19 Nov 2014
Forum: User Contributed Studies and Indicator Library
Topic: Have Fun with Colors
Replies: 10
Views: 14049

Re: Fun with Colors

thanks TJ
You are welcome!
Enjoy!
by TJ
18 Nov 2014
Forum: MultiCharts
Topic: Multicharts become unstable with Windows 7 running in Centos
Replies: 4
Views: 1716

Re: Multicharts become unstable with Windows 7 running in Ce

Hi I rented a server with Centos and installed virtual box and run windows 7.
Strangely MC become very slow and unstable. Anyone have any idea why?
Is it a dedicated server?

What is the server spec?
What is your allocated resources?
by TJ
17 Nov 2014
Forum: MultiCharts
Topic: Noob Questions...
Replies: 24
Views: 6188

Re: Noob Questions...

Thanks TJ, :: My general question is this: can multicharts reference candles prior to the entry candle, to set a stop loss? :: Why not? [1] is the reference. MultiCharts is a powerful analytic tool; you can easily program your ideas into your strategies. A good place to start is here: https://www.m...
by TJ
17 Nov 2014
Forum: MultiCharts
Topic: Noob Questions...
Replies: 24
Views: 6188

Re: Noob Questions...

ps. [FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
17 Nov 2014
Forum: MultiCharts
Topic: Noob Questions...
Replies: 24
Views: 6188

Re: Noob Questions...

Anyone around ? Programming question... How to set a stoploss at the high or low of the entry bar? I'm thinking: variables: stoplossvalue(0), entrystopdifference(0); stoplossvalue = high(barssinceentry); entrystopdifference = stoplossvalue - entryprice(0); setstoploss(entrystopdifference*dollar tic...
by TJ
17 Nov 2014
Forum: MultiCharts
Topic: Execution delay [SOLVED]
Replies: 26
Views: 12555

Re: Execution delay [SOLVED]

Would this had to do with the increased volume due to Shanghai-Hong Kong Stock Connect?
by TJ
16 Nov 2014
Forum: MultiCharts
Topic: Is TTnet Available ?
Replies: 12
Views: 4515

Re: Is TTnet Available ?

In the internet world , TTNET is the largest Internet service provider in Turkey. In the trading world , TTNET™ by Trading Technologies is the Gold Standard Trading Platform for professional futures traders. (They own the patent on self-centering DOM.) They are two unrelated companies, providing two...
by TJ
16 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

You might wish to look up the definition of MaxBarsBack in an old TS manual. You don't need to load and keep less data with <MaxBarsBack> set compared without it ? No ? You may want to ask a TS 3.5/4 developer what the original intention behind <MaxBarsBack> was and why it was miscalled and misused...
by TJ
16 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

I already got your thoughts. Thank you TJ. But the current explanation of MaxBarsBack is a relict from times where close to nobody was analyzing tick-, range- or volume charts etc.. Why was <MaxBarsBack> implemented ? To limit the amount of data to be used for calculations and so on. We had times t...
by TJ
16 Nov 2014
Forum: User Contributed Studies and Indicator Library
Topic: MAMA-FAMA by Ehlers
Replies: 2
Views: 3829

Re: MAMA-FAMA by Ehlers

This is the Mama- Fama mov avg study by Ehlers. {Ehlers MAMA and FAMA indicator - coded by dn //// From Cybernetic Analysis for Stocks and Futures} Inputs: Price((H+L)/2), FastLimit(.5),SlowLimit(.05); Vars: MAMA(0), FAMA(0); value0 = MAMA_FAMA(price, fastlimit, slowlimit, MAMA, FAMA); Plot1(MAMA, ...
by TJ
16 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

ps.
EasyLanguage ® Functions & Reserved Words Reference
CurrentBar (Reserved Word)...... pg. 525
by TJ
16 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

Please go to wiki and look up the definition of CurrentBar . MC Wiki <CurrentBar> .... Returns the number of the current bar. Each bar, subsequent to the initial number of bars specified by the Maximum Bars Back setting, is assigned a sequential number; the initial bars specified by the setting are...
by TJ
16 Nov 2014
Forum: MultiCharts
Topic: Scanner: # of bars calculated [SOLVED]
Replies: 28
Views: 8778

Re: Scanner: # of bars calculated [SOLVED]

Hi Ben,
::
* my indicator however is only seeing 70 bars
::
Please go to wiki and look up the definition of CurrentBar.
by TJ
15 Nov 2014
Forum: MultiCharts
Topic: Passing values from a function [SOLVED]
Replies: 11
Views: 2699

Re: Passing values from a function [SOLVED]

I have never tried a SetPlotWidth inside a function...
by TJ
15 Nov 2014
Forum: MultiCharts
Topic: Passing values from a function [SOLVED]
Replies: 11
Views: 2699

Re: Passing values from a function [SOLVED]

I want to be able to pass my numeric simple function value called BottomLive and ALSO be able to SetPlotWidth to large values like 40? I am trying to shade a rectangle area vertically & horizonatally from a high value MC1H down to a low value MC1L . How can I use SetPlotWidth inside a numeric simpl...
by TJ
14 Nov 2014
Forum: MultiCharts
Topic: Vertically shifting a chart [SOLVED]
Replies: 11
Views: 5173

Re: Vertically shifting a chart [SOLVED]

Hi, thank you for your reply. I am using a desktop computer. I understand what you are saying. but I do feel there is quite a difference when shifting a chart with multiple moving averages in the vertical axis when compared to doing it to a naked chart. Maybe it is just my chart, and it is caused b...
by TJ
13 Nov 2014
Forum: MultiCharts
Topic: Vertically shifting a chart [SOLVED]
Replies: 11
Views: 5173

Re: Vertically shifting a chart [SOLVED]

Hi Team, Just started using multicharts recently, I have a question regarding adding indicators to the chart. I noticed if I add more than 4 or 5 moving averages to a chart, then if I try to vertically scale or shift the chart, the movement becomes a little 'lagging', of course I found the more mov...
by TJ
10 Nov 2014
Forum: MultiCharts
Topic: Code an indicator where you can specify Data series [SOLVED]
Replies: 2
Views: 1571

Re: Code an indicator where you can specify Data series [SOLVED]

I have a multi data charts, I would like to code an indicator whereby I could apply it to either Data1, Data2 etc... Say normally I would plot "plot1( SMA of Data2, "SMA");" at the same time I may plot for Data3, 4 etc... Do you know how I can have the Data number as an input? Data(2) is the same a...
by TJ
10 Nov 2014
Forum: MultiCharts
Topic: Range bar time control [SOLVED]
Replies: 3
Views: 2028

Re: Range bar time control [SOLVED]

how about tick bar chart? can time work? or I need to use time_s as well?
Any Sub-Minute analysis and non-time-based analysis must use the _s suffix keywords.

Non-time-based analysis = any charts that are NOT based on time interval.
by TJ
10 Nov 2014
Forum: MultiCharts
Topic: Range bar time control [SOLVED]
Replies: 3
Views: 2028

Re: Range bar time control [SOLVED]

I used to set a trading period in my min chart trading eg. if time>=0900 and time<=1600 then begin.... however, if I want to trade with range bar chart for trading. how could I control the trading period between 0900 to 1600? Change the TIME to TIME_s eg. if time_s>=090000 and time_s<=160000 then b...
by TJ
09 Nov 2014
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5266

Re: Coding a function to calculate volatility

ps. make sure you do not have any bad data.

eg. dayClose[1] <= 0.
by TJ
09 Nov 2014
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5266

Re: Coding a function to calculate volatility

OZ Trade, I am able to get a value of Log(OpenD(0)/dayClose[1]), they output just fine. Anyone has any ideas? :: KISS Do one thing at a time... do not lump all the calculations in one indecipherable strand. try this... sqrt260 = SquareRoot( 260 ); logz = Log( OpenD(0) / dayClose[1] ); BL_CO_VOL = s...
by TJ
07 Nov 2014
Forum: MultiCharts
Topic: Transmitting new order on close of bar?
Replies: 7
Views: 2700

Re: Transmitting new order on close of bar?

Hello Xyzzy, Unfortunately there is no way to send your order exactly on closing tick of a bar in this case. Thу only workaround is to use RecalcLastBarAfter (1) to send the order (IOG must be ON for this) in 1 second after the calculation on close. Andrew, would you be so kind to demonstrate the a...
by TJ
07 Nov 2014
Forum: MultiCharts
Topic: Basic question on text command [SOLVED]
Replies: 5
Views: 2323

Re: Basic question on text command [SOLVED]

I would like to add text to the right margin of a chart through an indicator so I can add daily levels with appropriate labels Text_new doesn't seem to be appropriate for this, is there a function that will achieve this. What do you mean by "doesn't seem to be appropriate for this"? Please describe...
by TJ
06 Nov 2014
Forum: MultiCharts
Topic: Daily settlement price of ES [SOLVED]
Replies: 2
Views: 1582

Re: Daily settlement price of ES [SOLVED]

how could I get a quotation of daily settlement price of ES?
Wait until the exchange publishes the closing price,
then do a reload of your daily chart.
by TJ
06 Nov 2014
Forum: MultiCharts
Topic: Help with RecalcLastBarAfter
Replies: 4
Views: 1790

Re: Help with RecalcLastBarAfter

You should add comments to your code, so that it can be read, instead of guess, what it does.
by TJ
06 Nov 2014
Forum: MultiCharts
Topic: Help with RecalcLastBarAfter
Replies: 4
Views: 1790

Re: Help with RecalcLastBarAfter

Hi All My indicator always leaves annoying lines on the chart, when I manually recalculate all studies its fine, but I thought this code could "RecalcLastBarAfter(25)" recalcualte after 25 sec !?!? doesn't seem to do it?? Here is my full code: :: You should post a screenshot, with notes on the char...
by TJ
04 Nov 2014
Forum: MultiCharts
Topic: help with time entry and time exit
Replies: 3
Views: 1277

Re: help with time entry and time exit

[intrabargeneration=true]
if t[0]=XXXX then
buy this bar at close
if t[0]=YYYY then
sell this bar at close
See post #7
[FAQ] This Bar on Close
viewtopic.php?f=16&t=10811


ps.
viewtopic.php?f=16&t=11713
by TJ
03 Nov 2014
Forum: MultiCharts
Topic: ATTENTION IB USERS
Replies: 30
Views: 11821

Re: ATTENTION IB USERS

are you using 64 bit Java?
by TJ
03 Nov 2014
Forum: MultiCharts
Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
Replies: 8
Views: 2656

Re: tick data has a high 2017 but 5 minutes bar is not showi [SOLVED]

I wrote a small program to build the 5 mins bar from MC tick data that I exported The red bar is the 5 mins bar I built myself and the green bar are from MC. I am using CQG as data feed provider. These bars are from quite long ago and I have refreshed a few times already. Notice there are some disc...
by TJ
02 Nov 2014
Forum: MultiCharts
Topic: Switching Database location:Need to modify the Preferences?
Replies: 2
Views: 1217

Re: Switching Database location:Need to modify the Preferenc

instead of "removing" an old database,
I would rename the directory.

eg. from MultiCharts to MultiCharts_old.

I don't want to delete anything that I might regret later; harddisk is cheap.
by TJ
01 Nov 2014
Forum: MultiCharts
Topic: autotrading details [SOLVED]
Replies: 10
Views: 5104

Re: autotrading details [SOLVED]

Before tech support gets to you on Monday, you can try here: (Wiki would have all the answers you needed, it is worth the time investment to study it in detail) https://www.multicharts.com/trading-software/index.php/Main_Page#Content [FAQ] https://www.multicharts.com/discussion/viewtopic.php?f=16&t=...
by TJ
31 Oct 2014
Forum: MultiCharts
Topic: Custom Moving Average Indicator
Replies: 1
Views: 1123

Re: Custom Moving Average Indicator

I have downloaded custom moving average indicators from other websites and would like to know how to use the already included moving average crossover signals to work with them for an automated trading system or would i need to custom code the signal to that indicator? 1. simply load the included s...
by TJ
30 Oct 2014
Forum: MultiCharts
Topic: Time based order
Replies: 5
Views: 1257

Re: Time based order

:: Thanks TJ. In fact I am opening a position close to market close. Anyways do you know anyways that I can place orders at 1559+30 seconds instead of 1559? Try CURRENTTIME_S requires IOG Caution: your computer clock better be accurate. Thanks alot. May I ask you one more thing. Do you think it is ...
by TJ
29 Oct 2014
Forum: MultiCharts
Topic: Time based order
Replies: 5
Views: 1257

Re: Time based order

::
Thanks TJ.
In fact I am opening a position close to market close. Anyways do you know anyways that I can place orders at 1559+30 seconds instead of 1559?
Try

CURRENTTIME_S


requires IOG

Caution: your computer clock better be accurate.
by TJ
29 Oct 2014
Forum: MultiCharts
Topic: Portfolio Trader: MM Signal called multiple times per bar? [SOLVED]
Replies: 21
Views: 7449

Re: Portfolio Trader: MM Signal called multiple times per ba [SOLVED]

Hi TJ, yes, I have. 10/22 is included in the data for both stocks, nothing was sticking out there. Is there a semi-automatic way to check the data? Did you see issues w/ FreeQuotes before? Thank you, best regards, Felix Probably this is not data related. It might have to do with maxbarsback. I will...
by TJ
29 Oct 2014
Forum: MultiCharts
Topic: Time based order
Replies: 5
Views: 1257

Re: Time based order

I have a 1 minute chart. Currently I am placing orders when time equals an input like this 1230 I would like to know if it is possible to be more precise and specify the seconds as well? i.e. 123030 (12:30:30) This is because I would like to place order as close to the closing time as possible. Tha...
by TJ
29 Oct 2014
Forum: MultiCharts
Topic: Portfolio Trader: MM Signal called multiple times per bar? [SOLVED]
Replies: 21
Views: 7449

Re: Portfolio Trader: MM Signal called multiple times per ba [SOLVED]

Hi TJ, thanks for your message. Here is the output from bar status: :: I am only now noticing that while I have 10/21 twice, 10/22 is missing completely. Looking at the other logs I posted on this thread, 10/21 has always been missing. Any hints where to look? I am getting a bit frustrated by now a...
by TJ
29 Oct 2014
Forum: MultiCharts
Topic: Intermitent: MC64 Playsound not playing the .wav [SOLVED]
Replies: 4
Views: 1451

Re: Intermitent: MC64 Playsound not playing the .wav [SOLVED]

Hello A function to center a chart over an arrow incluse a Playsound function. The print do show the result, but, strangely, MC 64 does not always activate the PlaySound function.. No .wav file is played. The file do exist at the location If arrownumber <>-2 then begin count = count +1; print (arro...
by TJ
29 Oct 2014
Forum: MultiCharts
Topic: Terend Line and Txt in Chart [SOLVED]
Replies: 16
Views: 3683

Re: Terend Line and Txt in Chart [SOLVED]

sorry I thought I had to be taken away! Now put it back and I see the horizontal lines buy and sell. remain visible earlier texts, do not delete them ... it seems like not read the code TL_Delete (HITxt[1] ); I do not understand why...if I delete this code it remains completely unchanged in the cha...
by TJ
29 Oct 2014
Forum: MultiCharts
Topic: Terend Line and Txt in Chart [SOLVED]
Replies: 16
Views: 3683

Re: Terend Line and Txt in Chart [SOLVED]

now I get this result on the chart [img] http://gyazo.com/5df3e34a9b1b8585fd646f16190d937c [/img] but I want to get this result (This is the first code I posted, but when there is a new signal deletes the old and the new can not be see) [img] http://gyazo.com/3fff9e027922145951f86ca99396544a [/img]...
by TJ
28 Oct 2014
Forum: MultiCharts
Topic: Portfolio Trader: MM Signal called multiple times per bar? [SOLVED]
Replies: 21
Views: 7449

Re: Portfolio Trader: MM Signal called multiple times per ba [SOLVED]

Please add BarStatus to your print statement.

eg:

Code: Select all

print(date, "BarStatus=", barstatus, datetimetostring_ms(datetime_bar_update));
by TJ
27 Oct 2014
Forum: MultiCharts
Topic: problem order next bar
Replies: 15
Views: 3550

Re: problem order next bar

if i have signal multiframe is possibile use IOG ? Your order timing is always based on data1. Which instruction I have to write to go long on the break of the current candle? (with IOG) thanks Don't understand your question. Please see post #4 Multi-data strategy... pg. 34 https://www.multicharts....
by TJ
26 Oct 2014
Forum: MultiCharts
Topic: Plotting a variable
Replies: 4
Views: 1657

Re: Plotting a variable

Did I see somewhere that in one of the future releases we will be able to plot from within Signals?
That will be kind of nice, save using GV's.
i_setplotvalue and i_getplotvalue
https://www.multicharts.com/trading-sof ... tplotvalue
by TJ
26 Oct 2014
Forum: MultiCharts
Topic: Anyway to know witch tab of a worbook is selected?
Replies: 3
Views: 1025

Re: Anyway to know witch tab of a worbook is selected?

Hello Don't remember if I had asked the question, but this is a old quest for me My goal Using a multiple screen system, I would like to be able to see a chart using different scale at the same time. Let say that all chart on screen 1 is on 15 scale, Screen 2 are 1H and screen 3 use 4H Now, my goal...
by TJ
26 Oct 2014
Forum: MultiCharts
Topic: problem order next bar
Replies: 15
Views: 3550

Re: problem order next bar

I can do it..if i set order intrabar=true?
If you want to use the OPEN price of the current bar in your logic, and want to trade immediately,
you can use IOG to trigger an order in the same bar.
by TJ
26 Oct 2014
Forum: MultiCharts
Topic: problem order next bar
Replies: 15
Views: 3550

Re: problem order next bar

hi, i've signal in multiframe i want to enter long next candle if price >high i write this instruction: if open next bar>high(of this candle) and marketposition=0 then Buy ("buy") next bar at x stop; I See the following error (see pics ) Strategies are calculated at the END OF BAR . ie. At the spli...
by TJ
24 Oct 2014
Forum: MultiCharts
Topic: Terend Line and Txt in Chart [SOLVED]
Replies: 16
Views: 3683

Re: Terend Line and Txt in Chart [SOLVED]

instead of

Code: Select all

if MyRSI crosses under OverSold then
try:

Code: Select all

if MyRSI < OverSold and MyRSI[1] >= OverSold then
by TJ
24 Oct 2014
Forum: MultiCharts
Topic: Renko DollarTrailingAmount
Replies: 4
Views: 1347

Re: Renko DollarTrailingAmount

If you are interested in creating your own analysis... you better invest some time in learning this craft. Here is a good place to begin:
viewtopic.php?f=16&t=6929
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: Murray Math Indicator
Replies: 5
Views: 1812

Re: Murray Math Indicator

Thankyou for your help Would you have the code for the function AddTime, the compilation did not work on MC ?

Code: Select all

then Value20=AddTime(T,BarInterval)
else Value20=AddTime(T,2);
The "Search" box is located at the top right corner of this page. Just type in "AddTime" and you will find it.
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: Renko DollarTrailingAmount
Replies: 4
Views: 1347

Re: Renko DollarTrailingAmount

Thanks TJ , I am a complete beginner , how do I put the BarStatus = 2 into the script ?
Have you ACTUALLY looked up the keyword?

The syntax and usage example are right there.
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: Renko DollarTrailingAmount
Replies: 4
Views: 1347

Re: Renko DollarTrailingAmount

The standard in built _ Stops & Targets uses the new high and new low to set the dollar trailing amount. Any ideas on some code to make the trailing amount be set on the close of the bar only, this way I can match the trailing amount to renko brick size ? So the trailing amount is set at the close ...
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
Replies: 5
Views: 1696

Re: IntrabarOrderGeneration=True & buy next bar at inside li [SOLVED]

Maybe I check it again tomorrow when the market is open. I understand what you mean and I thought MC will do what you have described. But I experienced otherwise. Thanks. Bear in mind that the order will be in effect so long as the "Condition" is met. If the condition is no longer true, the order w...
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
Replies: 5
Views: 1696

Re: IntrabarOrderGeneration=True & buy next bar at inside li [SOLVED]

sorry for not being clear. I know what is a limit and what is a buy. Let say I would like to place a 100 limit buy if the price touch 102. if (currentprice<=102) then buy next bar at 100 limit 1st min: 107 2nd min: 102 3rd min:99.9 On the 2nd minute, MC will not place the 100 limit buy immediately....
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
Replies: 5
Views: 1696

Re: IntrabarOrderGeneration=True & buy next bar at inside li [SOLVED]

On a 5min bar chart, there is no signal in the first minute. But in 2nd minute, a signal appear and I would want to trade on the signal immediately. Now I am using this code buy next bar at inside limit However, this code will only buy on next bar open. Is there a way to buy this bar at inside limi...
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: strange output from code [SOLVED]
Replies: 1
Views: 958

Re: strange output from code [SOLVED]

vars:oldtime(0); print("old time: "+NumToStr(oldtime,2)+"new time: "+NumToStr(time[0],2)); oldtime=time[0]; Did a generic indicator to illustrate this problem. It is running on live feed old time: 2145.00new time: 2150.00 old time: 2145.00new time: 2150.00 old time: 2150.00new time: 2155.00 old tim...
by TJ
23 Oct 2014
Forum: MultiCharts
Topic: Terend Line and Txt in Chart [SOLVED]
Replies: 16
Views: 3683

Re: Terend Line and Txt in Chart [SOLVED]

Here is the modified code, I also left the old code to see there is the same problem still occurs, just active the code I see the line and txt "SELL ZONE" and "BUY ZONE", but when there is a new signal, everything disappears and does not work. to make a test I disable the deletion of the past linea...
by TJ
22 Oct 2014
Forum: MultiCharts
Topic: MC interference with Google Chrome?
Replies: 7
Views: 2115

Re: MC interference with Google Chrome?

When you install chrome64, you must remove all old chrome components from your Taskmanager before you start. Otherwise you will encounter problems.
by TJ
20 Oct 2014
Forum: MultiCharts
Topic: IB Connection Problem...?
Replies: 4
Views: 1754

Re: IB Connection Problem...?

Installed a 30 day demo of MC Broker is IB with desktop TWS API settings were configured as per MC tutorial video. Upon MC start and connection attempt to IB, connection cannot be made. When IB prompt, "accept connection attempt yes or no" pops up, and yes is selected, connection cannot be made. Th...
by TJ
20 Oct 2014
Forum: MultiCharts
Topic: MC interference with Google Chrome?
Replies: 7
Views: 2115

Re: MC interference with Google Chrome?

Question for a software guru Is it possible that MC, (both regular and 64) share some memory with Google Chrome? Since few time, I often got Google Chrome " He's dead, Jim" ** error and a message that memory may be low I got 24 GB of ram, so I don't think that the problem is from that. Problem seem...
by TJ
20 Oct 2014
Forum: MultiCharts
Topic: Terend Line and Txt in Chart [SOLVED]
Replies: 16
Views: 3683

Re: Terend Line and Txt in Chart [SOLVED]

::
I tried to use the new indication of code, but unfortunately it does not work so often, and when a new signal disappears the old, but I do not see the new.
Please post your re-worked code for further debugging.
by TJ
20 Oct 2014
Forum: MultiCharts
Topic: Selling a signal
Replies: 4
Views: 1332

Re: Selling a signal

Hi guys, i was wondering if anyone can help me. :: 4. I am selling the signal so they can only be run on the market they were intended for, obviously as clients have different brokerage accounts i can use getsymbol to make sure they trade an NQ signal only on NQ. Is there a way around this so i can...
by TJ
20 Oct 2014
Forum: MultiCharts
Topic: Terend Line and Txt in Chart [SOLVED]
Replies: 16
Views: 3683

Re: Terend Line and Txt in Chart [SOLVED]

ps:
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
20 Oct 2014
Forum: MultiCharts
Topic: Terend Line and Txt in Chart [SOLVED]
Replies: 16
Views: 3683

Re: Terend Line and Txt in Chart [SOLVED]

Unfortunately, when there is a new signal, it delete the previous line and txt, but do not show the new line and txt! I have to show for it or turn off / on status indicator in all charts....or re-compil code! what can be the problem? Instead of doing all the ID assignment (which can cause timing p...
by TJ
16 Oct 2014
Forum: MultiCharts
Topic: real-time failure alerts
Replies: 7
Views: 1734

Re: Getting MC to send an email alert

If you are looking for a heartbeat monitor... there are lots of solutions already available on the market, both free and paid. Why bog down MultiCharts to do something that is not trading related? Lots of reasons. For example, last week MC entered 2 positions that it shouldn't have. There was a 1-d...
by TJ
16 Oct 2014
Forum: MultiCharts
Topic: real-time failure alerts
Replies: 7
Views: 1734

Re: Getting MC to send an email alert

Most of the failure is due to local internet disconnect ... when the internet is down you can't send email alerts. No amount of MultiCharts functions can save your bacon if you are not there. Yes, this definitely happens. (And so do lots of other problems.) Have a look at the topic I referenced jus...
by TJ
16 Oct 2014
Forum: MultiCharts
Topic: MULTICHARTS 9.0 RELEASE
Replies: 165
Views: 68233

Re: MULTICHARTS 9.0 RELEASE

I get the message "Physical memory on your computer is running low. Close unnecessary applications or add RAM to your computer." all the time. MC 9.0 is excellent but the ultimate would be that one can specify the use of RAM memory. Is there any setting that will help or it will be ok if installing...
by TJ
16 Oct 2014
Forum: MultiCharts
Topic: real-time failure alerts
Replies: 7
Views: 1734

Re: Getting MC to send an email alert

For those interested in receiving real-time failure alerts when problems occur with autotrading, I just created this topic: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=47391 Please have a look and contribute if you can :) Most of the failure is due to local internet disconnect ... wh...
by TJ
16 Oct 2014
Forum: MultiCharts
Topic: Problem about a strategy's code I cannot solve
Replies: 2
Views: 866

Re: Problem about a strategy's code I cannot solve

ps.
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713
by TJ
15 Oct 2014
Forum: MultiCharts
Topic: EasyLanguage code won't compile
Replies: 1
Views: 1282

Re: EasyLanguage code won't compile

I am trying to compile EasyLanguage code that works fine in TS but won't compile in MultiCharts64 PowerLanguage Editor. I get "Compile error line 0, column 0" even when I comment out the the first line. This is how the file begins: [LegacyColorValue = true]; //comments about the rules, etc. go here...
by TJ
14 Oct 2014
Forum: MultiCharts
Topic: Plotting a variable
Replies: 4
Views: 1657

Re: Plotting a variable

can someone show me an example whereby a variable can be plotted on the same chart?
I want to plot the "Signal" variable so that I can visualize whether a trade is likely or not.
Thanks so much.
You can start here:
viewtopic.php?f=16&t=6929
by TJ
12 Oct 2014
Forum: MultiCharts
Topic: How to align text? [SOLVED]
Replies: 8
Views: 2319

Re: How to align text? [SOLVED]

ps. the benefit of plotting them separately is, you can selectively change the background color of individual plots as enhanced visual alerts.

eg.

Code: Select all


if CLOSE > CLOSE[1] then SetPlotBGColor( 10, green )
else SetPlotBGColor( 10, white );
by TJ
12 Oct 2014
Forum: MultiCharts
Topic: Upgrade to 9.0 from a non upgraded version
Replies: 1
Views: 695

Re: Upgrade to 9.0 from a non upgraded version

Hi, would an upgrade to 9.0 from a previous non upgraded version 8.8 (build 8593) be ok ? (for keeping all data, studies, charts, workspace etc...) Thanks and regards Andre Yes... you can upgrade directly from V8.8 to V9. This is also a good time to make a backup of your MultiCharts data. How to Ba...
by TJ
12 Oct 2014
Forum: MultiCharts
Topic: How to improving indicator using "Text" [SOLVED]
Replies: 4
Views: 1342

Re: How to improving indicator using "Text" [SOLVED]

TJ,
Just to let you know that I got a great improvement using Plot instead of Text in the fluidity of the chart
Many thanks
Martin
It's good to hear the improvement. Thanks for updating us with your result.
by TJ
12 Oct 2014
Forum: MultiCharts
Topic: How to improving indicator using "Text" [SOLVED]
Replies: 4
Views: 1342

Re: How to improving indicator using "Text" [SOLVED]

Hello I was tired to see MC giving me a slow refresh when scrolling over a large numbers of bars so I install MC 64. Sadly, I still have the same issues. Basically, refresh of the chart is done line every .05 second, so not very fluid. I finally found that the problem is mainly cause by one of my i...
by TJ
11 Oct 2014
Forum: MultiCharts
Topic: Re trying MC 64 [SOLVED]
Replies: 2
Views: 1020

Re: Re trying MC 64 [SOLVED]

Hello I got some time this weekend and I had plan to re-try MC 64 to see if it can run my indicators. I own a licence for MC 32, but MC 64 don't accept my user ID when I want to register. Do I need to completely remove MC 32. I understand that I can't run run simultaneously both version. Martin You...
by TJ
08 Oct 2014
Forum: MultiCharts
Topic: Memory Limitations
Replies: 11
Views: 4146

Re: Memory Limitations

Please note that while MultiCharts64 can address more memory space, Microsoft has imposed limitation on its various Windows operating system. Please ensure you obtain the correct version of Windows for your task. Memory Limits for Windows and Windows Server Releases http://msdn.microsoft.com/en-ca/l...
by TJ
07 Oct 2014
Forum: MultiCharts
Topic: Plot: Is there a Plot Style? [SOLVED]
Replies: 6
Views: 1953

Re: Plot: Is there a Plot Style? [SOLVED]

Hello I'm trying to set a Plot to be invisible. I just want the value in the Data Window not on the chart I could do it manually in the Indicator format by setting the style to be invisible. But, I just can't figure how to code it. I could select the color, the weight but not the style for the Plot...
by TJ
06 Oct 2014
Forum: MultiCharts
Topic: MC 64 vs MC 32
Replies: 3
Views: 1295

Re: MC 64 vs MC 32

1) My laptop has 4GB RAM and windows 7 64 bit ultimate. 2) I have typically 3 workspace with 10 charts each open, with 2-4 years 1 minute data (bar charts). I have IB data. I use only minute charts and IOG disabled. 3) I do not use MC for live autotrading. 4) I use MC only for backtesting, strategy...
by TJ
06 Oct 2014
Forum: MultiCharts
Topic: Volume indicator
Replies: 2
Views: 965

Re: Volume indicator

You can start here:

viewtopic.php?f=16&t=6929
by TJ
04 Oct 2014
Forum: MultiCharts
Topic: Hurst FLD....displacement problem [SOLVED]
Replies: 2
Views: 1377

Re: Hurst FLD....displacement problem [SOLVED]

Hi, I am trying to displace a 1 period simple moving average to the right using negative numbers. It works for a few bars with small negative numbers but with a value like -23 I get:- Error in study.......Trying to access future data. Bar reference value -23: I can displace an MA with a maximum val...
by TJ
03 Oct 2014
Forum: MultiCharts
Topic: Plotting an indicator from 600tick on the 3600tick chart?
Replies: 5
Views: 1241

Re: Plotting an indicator from 600tick on the 3600tick chart

Is it possible to plot a simple indicator...say HLC/3 from 600 tick on the 3600 tick chart?
So in other words, as the next bars 600 ticks HLC/3 plots...it re-draws the new HLC/3 on the 3600 tick chart?
Thank you if reading.
Not sure what you want.

Can you draw a diagram?
by TJ
03 Oct 2014
Forum: MultiCharts
Topic: Is there a way to have a trend line flashing [SOLVED]
Replies: 4
Views: 1552

Re: Is there a way to have a trend line flashing [SOLVED]

Hello Friday afternoon fun task :) Is there a way to have a trend line flashing. Momentary on / off. Purpose: I want to display the low and high for a given period of the day, but I don't want to visually mix these trend line with others I may have on charts Martin Is there a way to have a trend li...
by TJ
03 Oct 2014
Forum: MultiCharts
Topic: Slope curve
Replies: 14
Views: 5409

Re: Slope curve

Use my code.. It's a simple way of approaching this, but it does exactly what you want.
MA1 = MA[1]

Why do you need to recalculate MA1?
by TJ
03 Oct 2014
Forum: MultiCharts
Topic: Time stop in 3 line break charts
Replies: 4
Views: 1496

Re: Time stop in 3 line break charts

:: The problem is that the "time" function recognize the time at the end of the bar and using the 3 line break if the bar is not close at this time don't work. :: Have you any suggestion? From my experience, non-standard charts are never good for auto-trade/backtest. If you are having problem with ...
by TJ
03 Oct 2014
Forum: MultiCharts
Topic: Time stop in 3 line break charts
Replies: 4
Views: 1496

Re: Time stop in 3 line break charts

ps.
This bar on close
viewtopic.php?f=16&t=10811
by TJ
02 Oct 2014
Forum: MultiCharts
Topic: Time stop in 3 line break charts
Replies: 4
Views: 1496

Re: Time stop in 3 line break charts

Hallo all, i'm writing a system intraday using 3 line break chart. i'm trying to setup a funcion to close the operation at 17.25 (5 minutes before end in European time) using the following code: If time >=SessEnd and Marketposition<0 Then BuytoCover ("STime") currentshares shares this bar on close;...
by TJ
01 Oct 2014
Forum: MultiCharts
Topic: Slope curve
Replies: 14
Views: 5409

Re: Slope curve

by TJ
01 Oct 2014
Forum: MultiCharts
Topic: Slope curve
Replies: 14
Views: 5409

Re: Slope curve

if you want to try out advanced math, look up the following keywords and functions: LinearRegAngle (Function) LinearRegSlope (Function) LinRegSlopeArray (Function) CoefficientR (Function) CoefficientRArray (Function) CoefficientREasy (Function) Correlation (Function) CorrelationArray (Function) TLAn...
by TJ
01 Oct 2014
Forum: MultiCharts
Topic: Slope curve
Replies: 14
Views: 5409

Re: Slope curve

Maybe you are looking for...

when the slope is zero degrees? (ie. zero means there is no change in price)

or maybe the whether the slope is positive or negative? (the price is trending up, or down)


then,

what you are looking for is simply Slope = CLOSE minus CLOSE[1].
by TJ
01 Oct 2014
Forum: MultiCharts
Topic: Slope curve
Replies: 14
Views: 5409

Re: Slope curve

The slope expressed in Degrees Ex: value1=3; Plot1(3); degree is 0(zero); value1=close; Plot1(close); degrees vary depending on the slope of the curve When the curve is flat ... i will be near zero degrees I need to know when the curve is flat see pics below.. I asked you the definition of slope be...
by TJ
01 Oct 2014
Forum: MultiCharts
Topic: Slope curve
Replies: 14
Views: 5409

Re: Slope curve

Hi, i ask a question...
how can i calculate the slope of a curve with powerlanguage?

Code: Select all

value1=average(close,10);
i must calculate slope in value1 and plot it...
Thanks yoy
If you can "define" slope... you can code it.
by TJ
01 Oct 2014
Forum: MultiCharts
Topic: Stochastic SlowK and Data 2 [SOLVED]
Replies: 3
Views: 1565

Re: Stochastic SlowK and Data 2 [SOLVED]

TJ in case you ever wonder - You are AWESOME!!!

3 words and a link and I am golden.

Thanks thanks thanks thanks,
Wish I could paypal you a Starbucks :)
You are welcome... glad it works. :)
by TJ
28 Sep 2014
Forum: MultiCharts
Topic: TL_Set_Alert: How to triggered only once per bar
Replies: 2
Views: 812

Re: TL_Set_Alert: How to triggered only once per bar

Hello
TL_setAlert is set to be triggered in Intrabar.
Problem is within the same bar, allert could be triggered every time price do it the trendline, causing a multitude of alert on the screen
Is there a way to prevent that?
Martin

Code: Select all


If BarStatus = 2 then ...

Go to advanced search