Search found 7744 matches

by TJ
05 Oct 2011
Forum: MultiCharts
Topic: Simple Question - Close at 1615pm on a 24 hours chart?
Replies: 11
Views: 2634

Re: Simple Question - Close at 1615pm on a 24 hours chart?

another method is to count the number of bars.

e.g. there are 24 x 60 = 1440 one minute bars in a day (assume 24 hr chart).

if you are at 10 bars since 1615, the the value of the close is C[10].

if you want to know the close of previous day,
the value is C[10+1440].
by TJ
05 Oct 2011
Forum: MultiCharts
Topic: Simple Question - Close at 1615pm on a 24 hours chart?
Replies: 11
Views: 2634

Re: Re:

... Its a crude oil future (CL on Nymex) which trades continuously from 18:00 ET to 17:15 ET the following day. I'm using a 1-minute bar resolution. The difficulty I'm having is that closeD refers to the date close, not the session. Therefore I have been digging into ways to look-up (or record) the...
by TJ
05 Oct 2011
Forum: MultiCharts
Topic: Simple Question - Close at 1615pm on a 24 hours chart?
Replies: 11
Views: 2634

Re: Re:

Hi TJ I found this thread after posting on this other one first: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=7194 The example here is very close to my issue. I'm trying to find the close for prior sessions (but not just the last one). As I understand it, in your posted solution 'clos...
by TJ
04 Oct 2011
Forum: MultiCharts
Topic: Close Price of Prior Day at selected time
Replies: 10
Views: 3118

Re: Close Price of Prior Day at selected time

Hi TJ

Its Crude oil (QCL# in IQfeed) using a 15 min bar resolution.

I'm still having troubles.

thanks for any help
Please post your effort for debug.
by TJ
02 Oct 2011
Forum: MultiCharts
Topic: Pattern Matching-Recognition
Replies: 13
Views: 6746

Re: Pattern Matching-Recognition

Is there any Pattern Matching-Recognition feature planned in the future ? I think it would make a nice add-on module or built-in feature for MC. You can always code the pattern in an EasyLanguage indicator, then run it through your chart to get alert, or to make autotrade orders. Here are some patt...
by TJ
02 Oct 2011
Forum: MultiCharts
Topic: [Forum issue] Giving TJ thanks
Replies: 4
Views: 2494

Re: [Forum issue] Giving TJ thanks

Thanks for the "Thanks" !

I appreciate all feedbacks.


No need to push the button, just buy me a cappuccino when we meet. ;-)
by TJ
02 Oct 2011
Forum: MultiCharts
Topic: can you add the option number 2 in the Fibo retracement ? [SOLVED]
Replies: 3
Views: 989

Re: can you add the option number 2 in the Fibo retracement [SOLVED]

hi, can you add a option number " 2 " in the Fibonacci retracement price lines of the drawing toolbars ? I think it's verey useful , some traders use this level to measure their profit target , i think it is useful than the level " 1.618 ", because i find the market often touch the level " 2 " and ...
by TJ
30 Sep 2011
Forum: MultiCharts
Topic: help - to detect the last integer+decimal from price
Replies: 3
Views: 1050

Re: help - to detect the last integer+decimal from price

Thanks TJ - Didn't know about the keyword - FracPortion :)
press [F1] and you will get to see the keywords by category

Image
by TJ
30 Sep 2011
Forum: MultiCharts
Topic: help - to detect the last integer+decimal from price
Replies: 3
Views: 1050

Re: help - to detect the last integer+decimal from price

hello - anyone out there. Is there any efficient way to calculate the last integer+decimals from the price? for example: 1541.75 - should return 1.75 932.11 - should return 2.11 86.42 - should return 6.42 I tried different options - but have been running around to get this done efficiently. Thanks ...
by TJ
30 Sep 2011
Forum: MultiCharts
Topic: Strategy
Replies: 9
Views: 1757

Re: Strategy

bpv on oec is 1250 bpv on iqfeed is 125000 what am i supposed to do? The bpv is given by the exchange for a specific instrument. These numbers should not be modified. Having said that, the numbers for the same instrument should be the same. Please change the OEC bpv value to 125000 and see if it wo...
by TJ
30 Sep 2011
Forum: MultiCharts
Topic: Unexpected C++ Compiler Error using SDK interface
Replies: 1
Views: 768

Re: Unexpected C++ Compiler Error using SDK interface

I am getting an unexpected compiler error when attempting to return an integer value using the member function AsInteger. According to the EasyLanguage Extension SDK pdf of 02/08/2006 (see EasyLanguage Property Reference table C). AsInteger should be acceptable when returning a value through an Eas...
by TJ
30 Sep 2011
Forum: MultiCharts
Topic: Strategy
Replies: 9
Views: 1757

Re: Strategy

Yes i know it works when you just apply it as is. But try mapping it, and then youll get the errors. Have your tried using iqfeed or esginal or a feed and then mapping the broker such as OEC or interactive brokers. Then apply the strategy and youll see it doesnt work. Please see attached. Please ch...
by TJ
30 Sep 2011
Forum: MultiCharts
Topic: Strategy
Replies: 9
Views: 1757

Re: Strategy

No i am not using interbarordergeneration
I have just tested the code. It works fine on the HSI 1 min chart.

Please check your big point value of the instrument.

If you still have problem,
Please post a screen shot of a test run.


attached see my test run.
by TJ
30 Sep 2011
Forum: MultiCharts
Topic: Strategy
Replies: 9
Views: 1757

Re: Strategy

1.The instrument is the @EU# using IQfeed and 6EZ1 using OEC. I have both mapped. The IQfeed is the chart and has the 6EZ1 from OEC mapped to the chart as to send signals to OEC. 2.The chart resolution is a 1hr chart with 1000 bars back. 3.the code is below: vars: mystoploss(0); if MarketPosition =...
by TJ
29 Sep 2011
Forum: MultiCharts
Topic: Strategy
Replies: 9
Views: 1757

Re: Strategy

I have a strategy that is executing correctly on backtesting but not live. I am using IQfeed as my data feed and OEC as my broker. Basically i have a settargetproifit(500); which works out just find in backtesting but when going live it wont hold for the 500 dollar value and instead takes me out as...
by TJ
28 Sep 2011
Forum: MultiCharts
Topic: Close Price of Prior Day at selected time
Replies: 10
Views: 3118

Re: Close Price of Prior Day at selected time

Hi all, I'm fairly new to MC and am trying to do as the original poster, namely to compare the current bar's price to that of the session close X days ago. E.g. compare the closing price of the current bar (on a Monday say) to the closing price of the bar ending 17:15 ET last Thursday. I have follo...
by TJ
27 Sep 2011
Forum: MultiCharts
Topic: TS steps forward with 64bit techy and many more features
Replies: 3
Views: 1833

Re: TS steps forward with 64bit techy and many more features

Competition is good, that's what drives progress.
by TJ
27 Sep 2011
Forum: MultiCharts
Topic: Horizontal arrows. Is it possible to display?
Replies: 6
Views: 1648

Re: Horizontal arrows. Is it possible to display?

TJ Thank you!

Excuse my ignorance but how do you change the characters table?

Martin
use
Text_SetFontName

Windows has a large collection of fonts,
many are already installed in your computer.

You can check them in your Windows program
Start > Control Panel > Fonts
by TJ
27 Sep 2011
Forum: MultiCharts
Topic: Horizontal arrows. Is it possible to display?
Replies: 6
Views: 1648

Re: Horizontal arrows. Is it possible to display?

I use the text characters > and < as substitute.

you can also change the font and use wingding characters.

http://en.wikipedia.org/wiki/Wingdings

Image
by TJ
26 Sep 2011
Forum: MultiCharts
Topic: color ohlc
Replies: 5
Views: 1463

Re: color ohlc

thanks! yes i can understand the code. But writing it myself is another thing. easylanguage is not so easy if you ask me. you have to learn a language.... of course it can be done but i want to learn how to trade better not programming. thanks again. I agree, there should be an option like the cand...
by TJ
26 Sep 2011
Forum: MultiCharts
Topic: I have a great strategy but ...
Replies: 12
Views: 2952

Re: I have a great strategy but ...

so MC needs to disable everything but time and volume charts from autotrading.... quit confusing the masses with incorrect data.... BUT my strategy works.. tested it on another platform :) (that works) No use blaming MC ... this is intrinsic to non time-based chart. so you are saying that nothing b...
by TJ
26 Sep 2011
Forum: MultiCharts
Topic: I have a great strategy but ...
Replies: 12
Views: 2952

Re: I have a great strategy but ...

so MC needs to disable everything but time and volume charts from autotrading.... quit confusing the masses with incorrect data.... BUT my strategy works.. tested it on another platform :) (that works)
No use blaming MC... this is intrinsic to non time-based chart.
by TJ
26 Sep 2011
Forum: MultiCharts
Topic: I have a great strategy but ...
Replies: 12
Views: 2952

Re: I have a great strategy but ...

I have coded it in EL but present version of MC I have problems with the strategy working as coded i.e. correctly.... backtests perfectly but live it has issues. All of the issues appear to me issues with the MC implementation of Renko bars not working correctly. I have set up dual data frames and ...
by TJ
26 Sep 2011
Forum: MultiCharts
Topic: color ohlc
Replies: 5
Views: 1463

Re: color ohlc

thanks i was already truying with some code but i vcant make it work From the guide: Input: Length(14), OvBought(80), OvSold(20); Vars: SlowKVal(0); SlowKVal = SlowK(Length); if SlowKVal > OvBought then PlotPB(High, Low, "SlowK", Red); if SlowKVal < OvSold then PlotPB(High, Low, "SlowK", Blue); thi...
by TJ
26 Sep 2011
Forum: MultiCharts
Topic: color ohlc
Replies: 5
Views: 1463

Re: color ohlc

hi,

i need a colored ohlc (red for down, green for up bar)
as i understand this can be done with a paintbar indicator.
im not a programmer...
who can help me with this?

thanks
EasyLanguage Essentials Programmers Guide
Creating a PaintBar Study.......... pg. 77
by TJ
24 Sep 2011
Forum: MultiCharts
Topic: Preliminary documentation for new reserved words in MC7
Replies: 26
Views: 11903

Re: Preliminary documentation for new reserved words in MC7

I think the new keyword mc_tl_getactive
would sound more meaningful if it were
tl_getselected.
by TJ
22 Sep 2011
Forum: MultiCharts
Topic: Next bar ending time, how to calculate
Replies: 1
Views: 601

Re: Next bar ending time, how to calculate

Hello Is there a way to get the ending time of the next following bar? Time: Actual bar ending Time[1] :Last bar ending Next bar ending ? Martin There is no ONE solution for all situations. if it is a non-time-based chart, or a seconds chart, the next bar is TIME_s plus 1 second. if it is a minute ...
by TJ
22 Sep 2011
Forum: MultiCharts
Topic: How to keep the time left of the bar always on display
Replies: 12
Views: 5029

Re: How to keep the time left of the bar always on display

I believe what you are seeing is due to the white candle body you have selected -- it "disappears" against the white chart background. You can do this test to verify -- set the chart background to a color (eg gray), you might be able to see the price scale turn white when the price is in the candle ...
by TJ
21 Sep 2011
Forum: MultiCharts
Topic: How to keep the time left of the bar always on display
Replies: 12
Views: 5029

Re: How to keep the time left of the bar always on display

Henry, The Avi file is to big to be sent on the forum. please sent me your direct email via my private inbox Martin P.S. I did have a screen capture tool, Hypersnap. The file to download for screen recording is AutoScreenRecorder from the provider link given by TJ. try this: http://screencast.com/ ...
by TJ
21 Sep 2011
Forum: MultiCharts
Topic: How to keep the time left of the bar always on display
Replies: 12
Views: 5029

Re: How to keep the time left of the bar always on display

OK, will try to source down an application to record. Never done that

Martin
You can use ScreenHunter from http://wisdom-soft.com/
It is free.
Just press a hot key and the screen is captured.
A "must-have" for every trader.
by TJ
21 Sep 2011
Forum: MultiCharts
Topic: Tricky programming: projecting date and time ...
Replies: 5
Views: 1224

Re: Tricky programming: projecting date and time ...

TJ - thanks again for the tip. One thing that can be problematic about multiplying the # of bars by the interval is that I think you need to take into account that some calendar days aren't trading days (and some times of day aren't trading times), so you can't include those periods when you're cou...
by TJ
21 Sep 2011
Forum: MultiCharts
Topic: Tricky programming: projecting date and time ...
Replies: 5
Views: 1224

Re: Tricky programming: projecting date and time ...

depending on what bar type and resolution you use... trendlines work the best in minute charts. if you want to project into a specific data/time in the future, you can find the future date and time by multiplying the barinterval with the # of bars you want to go into the future. You will need to con...
by TJ
21 Sep 2011
Forum: MultiCharts
Topic: Tricky programming: projecting date and time ...
Replies: 5
Views: 1224

Re: Tricky programming: projecting date and time ...

I am working on an indicator and I was hoping to tap into the collective wisdom of this group. This indicator involves drawing a series of trendlines that have to be of a specific bar length. Depending on where the trend line starts, there could be instances where the terminal points of the trendli...
by TJ
20 Sep 2011
Forum: MultiCharts
Topic: Global Variables - View on Charts
Replies: 7
Views: 1455

Re: Global Variables - View on Charts

Hello,

Is that a way I can see Global variables values in my chart windows?
How would you like them shown?

In a pop-up window?

What if there are lots of variables?
by TJ
19 Sep 2011
Forum: MultiCharts
Topic: If you have a Problem with MC --> Live Chat
Replies: 5
Views: 2091

Re: If you have a Problem with MC --> Live Chat

Yes.. best way to get a problem resolved.. my only gripes are that sometimes it is painfully slow (spend a lot of time waiting for someone on other end) and the hours available are right in the middle of the trading day.
live chat starts at 6:30 AM and runs until 4:00 PM.
by TJ
18 Sep 2011
Forum: MultiCharts
Topic: cumulative [SOLVED]
Replies: 3
Views: 984

Re: cumulative [SOLVED]

see this one for example for what i look for:

http://traderfeed.blogspot.com/2006/09/ ... asure.html
You can only use built-in indicators with MultiCharts Discretionary Trader.

If you want to program customized indicators, you have to use MultiCharts full version.
by TJ
18 Sep 2011
Forum: MultiCharts
Topic: multiple strategies same symbol
Replies: 6
Views: 1853

Re: multiple strategies same symbol

Is there a limit on how many strategies you can have running at the same time on the same symbol? I don't know the limitation, but usually when there is more than one strategy running, you need to be extra careful with the entries and exits. Your logic has to take into account for the other strateg...
by TJ
17 Sep 2011
Forum: MultiCharts
Topic: cumulative [SOLVED]
Replies: 3
Views: 984

Re: cumulative [SOLVED]

hi , i'm using MultiCharts Discretionary Trader.

and i whould like to know can i use a cumulative chart on my data?

thanks.

avi.
what do you mean by "cumulative chart"?
by TJ
16 Sep 2011
Forum: MultiCharts
Topic: Most Efficient Internet Security Working with MC
Replies: 4
Views: 1627

Re: Most Efficient Internet Security Working with MC

Well, I have not installed with any Internet Security software for my present desktop & laptop, with XP and Vista, but just with AGV antivirus program. However, I have ordered a new laptop in which it has Norton Inernet Security. I think I woldn't use it as I had a bad experience using it in the pa...
by TJ
16 Sep 2011
Forum: MultiCharts
Topic: Open Positions and Order Placement
Replies: 5
Views: 1664

Re: Open Positions and Order Placement

Are there features in MultiCharts that allow you to check Open Positions from PowerLanguage and place orders outside of a strategy? if you press [F1] , you can find all the position related EasyLanguage keywords: http://www.multicharts.com/discussion/download/file.php?mode=view&id=3892 not sure wha...
by TJ
16 Sep 2011
Forum: MultiCharts
Topic: help with indicator
Replies: 3
Views: 890

Re: help with indicator

i'm using MultiCharts Discretionary Trader
You cannot customize indicators in MultiCharts Discretionary Trader,
you can only do that with the full version.
by TJ
16 Sep 2011
Forum: MultiCharts
Topic: help with indicator
Replies: 3
Views: 890

Re: help with indicator

hi, can anyone help me in making a simple indicator of tacking the close of the current bar minus the close of the previous bar. I need this one to analyze volume , I transfer the total volume with dde and with the help of the indicator I can see what the volume in each bar. thanks. avi. are you us...
by TJ
16 Sep 2011
Forum: User Contributed Studies and Indicator Library
Topic: Intrabar VWAP not working correctly
Replies: 9
Views: 4275

Re: Intrabar VWAP not working correctly

one tool that can help you with the logic... draw a flow chart.

Image
by TJ
16 Sep 2011
Forum: User Contributed Studies and Indicator Library
Topic: Intrabar VWAP not working correctly
Replies: 9
Views: 4275

Re: Intrabar VWAP not working correctly

Hi TJ:
...
Any ideas on how to reset PriceW and ShareW correctly?

Many thanks.
Hint:

read my post#6 again,
especially suggestion #2.
by TJ
15 Sep 2011
Forum: MultiCharts
Topic: SetStopLoss and IB Data
Replies: 30
Views: 9451

Re: SetStopLoss and IB Data

Code: Select all

SetStopContract;
SetStopLoss(50 * 145);
setpercenttrailing( 50 * 195, 5);
5% trailing on HSI ???

That's hardly enough for spread !

If there is a gap opening in the afternoon session, the trail will be taken for sure.

Did you backtest with bid/ask?
by TJ
15 Sep 2011
Forum: MultiCharts
Topic: Manual, Reference, etc. for MC 7
Replies: 17
Views: 3914

Re: Manual, Reference, etc. for MC 7

I understand, but powerlanguage also contain a lot of functions. It would be helpful to see a description of these functions
can you name one?

I am sure the tech support would post the definition immediately.
by TJ
15 Sep 2011
Forum: MultiCharts
Topic: Formating Time string
Replies: 5
Views: 919

Re: Formating Time string

this might help to visualize the different time keywords:

Programmer's data box
http://www.traderslaboratory.com/forums ... a-box.html



48.32
by TJ
14 Sep 2011
Forum: User Contributed Studies and Indicator Library
Topic: Intrabar VWAP not working correctly
Replies: 9
Views: 4275

Re: Intrabar VWAP not working correctly

PriceW = PriceW + (Close * (Upticks + DownTicks)); ShareW = ShareW + (Upticks + Downticks); If ShareW > 0 then IntrabarVWAP = PriceW / ShareW; The above code translates to the following: Intrabarpersist means to reset to zero on every tick. since Upticks + Downticks = Ticks, you can reduce the code...
by TJ
14 Sep 2011
Forum: User Contributed Studies and Indicator Library
Topic: Intrabar VWAP not working correctly
Replies: 9
Views: 4275

Re: Intrabar VWAP not working correctly

What i want it to do is calculate the VWAP internally of each bar, in other words, calculate for each bar the following: IntrabarVWAP = Sum of (Price of trade X volume of trade ) / ( Sum of volume) When a bar opens it needs to calculate (Price of Trade x volume of trade ) for each trade in a bar, s...
by TJ
14 Sep 2011
Forum: User Contributed Studies and Indicator Library
Topic: Intrabar VWAP not working correctly
Replies: 9
Views: 4275

Re: Intrabar VWAP not working correctly

Hi thanks for the reply. I will plot this on the same subchart as the underlying barchart using the same scale as the barchart. Plot1 is set to a left or righttick with a different color to the barchart or candelchart so that it appears in the body of each bar in the chart as a horizontal tick. Thi...
by TJ
14 Sep 2011
Forum: User Contributed Studies and Indicator Library
Topic: Intrabar VWAP not working correctly
Replies: 9
Views: 4275

Re: Intrabar VWAP not working correctly

Hi, i am trying to calculate an intrabar VWAP, ie the VWAP of each individual bar which i will compare to the close of the bar to see if it is above or below the close etc.. I am using intrabarpersist for this and have tried it with minute, tick and range charts and every time the returned intrabar...
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7853

Re: Multi Entries/Exits Strategies

Thank you Dave. In my environement this silly signal will produce the error: [IntrabarOrderGeneration = false] variables: aaa(0); aaa=PosTradeEntryPrice(0,1); if currentbar=100 then buy this bar on close; Signal properties: Commission 0 Slippage 0 Init capital 100000 Interest rate 2 Max number of b...
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: SetStopLoss and IB Data
Replies: 30
Views: 9451

Re: SetStopLoss and IB Data

...
ps. they should be at the very end of your code.
Hi TJ,

... I don't think end of code or beginning makes any different as I am using minute bar....
as you wish.
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: SetStopLoss and IB Data
Replies: 30
Views: 9451

Re: SetStopLoss and IB Data

Hi, ... Also, there is no way to turn off the setstoploss, I just amend my code to temporary increase the stop loss and trailing to a level that will not trigger during lunch time. I am not sure it can address the issue or not. I will test it tomorrow. Any better idea to fix the problem? Condition9...
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: SetStopLoss and IB Data
Replies: 30
Views: 9451

Re: SetStopLoss and IB Data

Sorry TJ, I mean condition, my code is right after variable declaration. Do you mean your following codes are not inside a condition? Condition99 = Time of this bar < 1159 or time of this bar > 1331 ; If Condition99 then begin SetStopContract; SetStopLoss(50* LossTarget); setpercenttrailing( 50 * P...
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: SetStopLoss and IB Data
Replies: 30
Views: 9451

Re: SetStopLoss and IB Data

Hi TJ, Thanks but my code is at the beginning not inside the strategy . The problem is that the stop loss and stoppercenttrailing execute when it got a zero price noise from IB data even I set the price based on volume change. That's why I believe the setpercenttrailing function got the data from I...
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: SetStopLoss and IB Data
Replies: 30
Views: 9451

Re: SetStopLoss and IB Data

Hi, I think there is some bugs in the setstoploss and setpercenttrailing working with IB data. I am using TWS to trade HSIF. In my data source setting, I already set generate new tick if volume change. Also, in my chart, I am using the 1 minute trade price based on volume change. My chart showing d...
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: Removing space space in a string
Replies: 2
Views: 750

Re: Removing space space in a string

the logic:

1. find out the string length

2. check to see if the left-most character is a " "

3. remove the " " by copying the right-most number of characters from the string.

Hope this helps.
by TJ
14 Sep 2011
Forum: MultiCharts
Topic: Removing space space in a string
Replies: 2
Views: 750

Re: Removing space space in a string

Hello

I got a blank

Is there a function to remove space at the beginning of a string like trim or Clean in Excel?

Martin
Press [F1] and you will see
all of the string-related keywords at your disposal:

Image
by TJ
13 Sep 2011
Forum: MultiCharts
Topic: Ram usage
Replies: 8
Views: 2179

Re: Ram usage

Henry, Thank you. I investigated it was the 7 Charts which was eating ram. I reduced the charts and it reduces the load. But still Ram increase around 100 mb in 2-3 days time with 3 charts and continue to increase. Which mean that Multicharts need to re-look on this issue because For strategy tradi...
by TJ
11 Sep 2011
Forum: MultiCharts
Topic: Order Type inquire
Replies: 8
Views: 1971

Re: Order Type inquire

Hi, For strategies LIMIT orders does not have any slippage. Is there any Stop order which make sure we get the exact price? Normally stop orders are converted to market order when market touch that price. But I don't want order to get converted in market order. I want to get the same price on which...
by TJ
11 Sep 2011
Forum: MultiCharts
Topic: Using an array with 2 data series
Replies: 8
Views: 1747

Re: Using an array with 2 data series

If I'm limited to one column I would like that column to include the values for 'myvariable' at every tick. How can I do it? EasyLanguage Essentials Programmers Guide Dynamic Arrays.... pg 42 EasyLanguage Reference Guide CHAPTER 2 - The Basic EasyLanguage Elements Understanding Arrays.... pg 41 htt...
by TJ
10 Sep 2011
Forum: MultiCharts
Topic: Using an array with 2 data series
Replies: 8
Views: 1747

Re: Using an array with 2 data series

TJ, I'm assuming the exact number of cells can not be predetermined as the number of ticks per bar will vary from one bar to another. (I think this means it needs to be a dynamic array???) At every TICK (of the lower timeframe bar) I would like to be able to reference 1. the current close and 2. th...
by TJ
10 Sep 2011
Forum: MultiCharts
Topic: Using an array with 2 data series
Replies: 8
Views: 1747

Re: Using an array with 2 data series

Hi TJ, I'm not really sure what you mean by "how many cells do you think you would need for this array?". I would like to store info at every tick then reference it later. Cheers Champski this image might help: http://www.traderslaboratory.com/forums/attachments/56/14751d1257019257-array-easylangua...
by TJ
09 Sep 2011
Forum: MultiCharts
Topic: Newbie question: chrat template
Replies: 4
Views: 1326

Re: Newbie question: chrat template

Hi, First time user of the app, and I got somewhat basic question. Is it possible to save several chart template (including studies, formats, etc) and then apply them, so I don't have to format my new charts all over again? Thanks. There are 2 way you can do it: 1. File > Copy Window This operation...
by TJ
09 Sep 2011
Forum: MultiCharts
Topic: Print function excuting when it shouldnt
Replies: 14
Views: 2899

Re: Print function excuting when it shouldnt

The OP's issue (and his original question) is, WHY does it print when marketposition was not equals to zero.

He wasn't looking for a work around, but an explanation.
by TJ
09 Sep 2011
Forum: MultiCharts
Topic: Print function excuting when it shouldnt
Replies: 14
Views: 2899

Re: Print function excuting when it shouldnt

I have a signal that runs something like this: If MarketPosition = 0 Then begin If condition1 = true and condition 2 = true then begin buy next bar at market; print("order executed"); end; end; When applied to a chart lets say it takes 10 trades, yet the print will print out hundreds of lines sayin...
by TJ
09 Sep 2011
Forum: MultiCharts
Topic: Using an array with 2 data series
Replies: 8
Views: 1747

Re: Using an array with 2 data series

Hi, I am trying to create a system that uses 2 data series and uses IOG. i.e 10 minute (data1) and 5 minute (data2). My signal will calculate values, based on a formula, at every tick on the 10 minute bar. What I would like to do is be able to store the value at every TICK for the entire duration o...
by TJ
09 Sep 2011
Forum: MultiCharts
Topic: Pivot Points, sharing trendlines and window size [SOLVED]
Replies: 1
Views: 856

Re: Pivot Points, sharing trendlines and window size [SOLVED]

...

3) it seems the window focus is locked. So when price go below or above the Y-legend i have to resize the window. How can I make that auto-size?
right click on the price scale... select reset.
by TJ
08 Sep 2011
Forum: MultiCharts
Topic: Print function excuting when it shouldnt
Replies: 14
Views: 2899

Re: Print function excuting when it shouldnt

So nobody's having this issue?

I've also tried it with 'FileAppend' instead of 'print' and get the same issue.

I am using IOG (Intrabar Order Generation) so maybe its something to do with that?

Cheers,
IOG would make it print on every tick while the conditions are true.
by TJ
07 Sep 2011
Forum: MultiCharts
Topic: Intra bar generate on and off
Replies: 3
Views: 953

Re: Intra bar generate on and off

Yes, I am testing with demo at the moment. I ask it just because I saw a few comments about intra bar order generation is not stable and therefore want to confirm my coding logic inline with the intra bar logic. with the limited information you have provided, it is difficult to give an assessment. ...
by TJ
07 Sep 2011
Forum: MultiCharts
Topic: IB TWS connection: Any solution to keep it connected to MC?
Replies: 1
Views: 744

Re: IB TWS connection: Any solution to keep it connected to

Hello Anybody is aware obaout a solution to keep IB, TWS alive without being shut off once per day. I was using IB Gateway to do so, and it is fine. Problem, with it I can't see my order nor transactions in real time. So i would prefer to keep using TWS. Any info appreciated Martin There are a numb...
by TJ
07 Sep 2011
Forum: MultiCharts
Topic: Intra bar generate on and off
Replies: 3
Views: 953

Re: Intra bar generate on and off

Hi, I am currently using 1 minute bar for my trading. My strategy would like to place a stop limit order good until end of the 1 minute bar but not next tick once the condition is met. I am not sure the effect of Intra bar generate within signal. Here is the sample of code I would like to use. Can ...
by TJ
07 Sep 2011
Forum: MultiCharts
Topic: RAMDisk - might be useful to speed up MC
Replies: 10
Views: 3504

Re: RAMDisk - might be useful to speed up MC

note: Anyone who is using RAM disk should also have a UPS for his computer.
This is to prevent any data corruption due to power outages.
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Anyone trading IB gold
Replies: 4
Views: 1298

Re: Anyone trading IB gold

Thanks for the reply TJ, tried that couldn't get it to work though.... I went into symbol mapping deleted MIBSX from the exchange and that allowed me to place orders. Unusual but when i go back into symbol mapping MIBSX;NYMEX is still there. Over my head but it appears to be working all good now.Ma...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Anyone trading IB gold
Replies: 4
Views: 1298

Re: Anyone trading IB gold

from an order in TWS that worked ;
ExDestination= NYMEX;

the orders from multicharts that don't work;
ExDestination= MIBSX;

How do I change exchange destination ?
You should delete the symbol and add it again.

You can select the exchange when you add the new symbol.
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

see my note at the post above: you do not see <<== Cross CCI ==>> in the audit trail because it was not Lastbaronchart. I realize it's Lastbaronchart ...you have to do it realtime or do it with the Multicharts Playback mode so you can see the order being triggered as it plays back. Please try it in...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

On your screenshot the strategy did not actually cause any entry long, that is one of the problems I am having with Multicharts. It misses it sometimes. Can you do one where you actually enter long on your platform? see my note at the post above: you do not see <<== Cross CCI ==>> in the audit trai...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

1. We have established that the code works when the trendline is at zero. ie. MultiCharts is capable of performing such kind of task. 2. Next, we have established that the calculation of TVAL is at error when the trendline is set to 10. ie. this is a formula error. 3. there is only one thing left to...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

Thanks, When I removed the * PriceScale from code I get this error... ------ Compiled with error(s): ------ Compile error errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0 causal study: (Function) If you need help with coding, Please post the code that caused this error. ps. this is a coding err...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

TJ,
I used the same instrument, same indicator, same subgraph...
Have you tried this strategy on your Multicharts machine? if not please try it and tell me if it works as expected.
see attached.

note:
you do not see <<== Cross CCI ==>> in the audit trail because it was not Lastbaronchart.
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

I did read the book you mention ...but there it says you are supposed to have the semicolon at the end... I think there is a problem with the Multicharts Platform, The very same code works perfect in TS... I meant you are supposed to have the semicolon at the end. There must be something else in yo...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

Thanks, When I removed the * PriceScale from code I get this error... ------ Compiled with error(s): ------ Compile error errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0 causal study: (Function) Did you remove the semicolon at the end? I would suggest that you start with this ebook: Getting St...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

Or I can change the pricescale to 1? What does the PriceScale reffer to? Do you have in the website instructions as to how to debug a strategy? Do not change the PriceScale, it is a set value for each instrument. It is not broker specific, but they can provide the value for you. Here's some reading...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

Sorry about that ... debugging has never really been my forte.. Do you have in the website instructions as to how to debug a strategy? Attached find screenshot as requested. Looks like the trendline value "TLVal" is off for some reason, and obviously never crossed thru...Really don't know the solut...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

It varies for AUDJPY is 1/1000 I am not using a broker as I said before it is only chart trading right now. Data is from TS. By the way I am using the same code on TS and works fine... So there must be a Multicharts Chart or Platform Setting I need to change. Is there a specialist from Multicharts ...
by TJ
06 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

I am trading Forex EURUSD, AUDUSD, AUDJPY.. Attached find screenshot of the Scaling settings The PriceScale is set in the QuoteManager : 1. right click on the symbol 2. select Edit Symbol 3. under Settings tab, select Price Scale . Please check with your broker for the proper price scale setting fo...
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

What instrument you are trading?
Please check your PriceScale.
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

TJ, Thanks, Sorry about that, I am using this code this time... .. As you can see in the attachments, it works fine when the trendline is at zero but when the trendline is located somewhere else it does not work. See the TLVal numbers in the Output seem somewhat strenge. Thanks again... Please test...
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

ps. I see other audit trails in the list. are you running multiple strategies in the chart? For debugging purposes, you should remove all the other charts/indicators from your testing environment so that you can concentrate on finding the error. pps. the code you use is not the 20110904 1224 edition...
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

1- Trndline is at 0.
2- Code used as posted (note edited on 20110904 1224)
3- Attached screenshot as requested
I see impeccable timing.

Can you identify the error you see?
can you describe it bar-by-bar (with time stamp reference)?


Please see my notes on attached chart.
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

TJ, Attached below is the screenshot of the entry and the output trail... As you can see the TL-LE Entry was triggered 3 bars before the CCI crossed the Trendline, this is constantly happening. Also constantly happening is the trigger a few bars after the trendline as in the video shot attached abo...
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

I tried real time but still misses a few entries not sure why. I also want to ad a condition... to enter when the trendilne is green, but it is not compiling for some reason, I'm sure I'm missing a statement. See code below. Thanks again... ... before we go any further, you have to post the audit t...
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Anyone Use Laptop to Trade / Autotrade?
Replies: 5
Views: 1651

Re: Anyone Use Laptop to Trade / Autotrade?

CPU benchmark to help you select your computer Below is an alphabetical list of all CPU types that appear in the charts. Clicking on a specific processor name will take you to the chart it appears in and will highlight it for you. Results for Single CPU Systems and Multiple CPU Systems are listed se...
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Volume Plot Trouble
Replies: 5
Views: 1235

Re: Volume Plot Trouble

I have same problem with mbtrading data also. I did not have problem until I upgraded to the last update. So how could it be the data? With the information provided, you can't tell for sure, that's why you should go to online chat with tech support, so that they can look at your system in real time.
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

Thanks, It misses a few entries but seems to have improved with the updated code. I will try it tonight with Forex Real Time to see if that works better. Thanks again I did not change your logic, so the result should not have changed (or improved). I have merely moved the print statement (the audit...
by TJ
05 Sep 2011
Forum: MultiCharts
Topic: Volume Plot Trouble
Replies: 5
Views: 1235

Re: Volume Plot Trouble

1. who is your data provider---OEC 2. what instrument you are charting-ES or any instrument, its same.Eurusd all similiar problem. MCVolumeProblem1.png MCVolumeProblem1.png 3. what is the chart resolution-Minutes 4. what is the volume indicator-Standard Volume indicator that comes with it. 5. are y...
by TJ
04 Sep 2011
Forum: MultiCharts
Topic: Volume Plot Trouble
Replies: 5
Views: 1235

Re: Volume Plot Trouble

I have been having problems with volume indicators plotting as should. It plots when I first load a chart then stops plotting as chart is live. You can refresh the chart and it fills in the volume again. Please help. basic questions: 1. who is your data provider 2. what instrument you are charting ...
by TJ
04 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

are the numbers correct? the print numbers match the actual entry rather than at the location of the trendline break as shown in the video attached above. TJ thanks for your help, can you try it on your machine to see if you get similar results? Thanks again... Please try this modified code. inputs...
by TJ
04 Sep 2011
Forum: MultiCharts
Topic: Ram usage
Replies: 8
Views: 2179

Re: Ram usage

TJ, Yes, I use Intraday charts. I cann't refresh charts to reduce the number of bars because then AutoTrading will turn off and I have to re-Start autotrading and enter each open position manually. Note: I use Syns autotrading mode and that does not work with the feature which can assume the chart ...
by TJ
04 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

do you have the print out for

Code: Select all

Print (D, T, "Cross CCI", TLPrice, "LineVal", TLVal );
are the numbers correct?
by TJ
04 Sep 2011
Forum: MultiCharts
Topic: Ram usage
Replies: 8
Views: 2179

Re: Ram usage

Hi, I have found a problem in Multicharts that if you keep it running it will increase Ram usage with the passage of time and kept increasing if you keep running multicharts. Now this issue get worse if you are running multicharts with 10 charts and more than 1 week time. I checked Multicharts keep...
by TJ
03 Sep 2011
Forum: MultiCharts
Topic: Strategy for entering CCI TL break
Replies: 39
Views: 5201

Re: Strategy for entering CCI TL break

I am trying the strategy (see code below) to enter long when the CCI crosses up thru the manually drawn Trendline. I am not sure why it is given me a delay entry. I've tried a few different times...It is entering 5 or 6 bars after breakout as shown in video playback below. Please advice. Thanks inp...
by TJ
02 Sep 2011
Forum: MultiCharts
Topic: Why can't I use Plot1(... in a Signal??
Replies: 3
Views: 1024

Re: Why can't I use Plot1(... in a Signal??

Hi, Why can't I use the plot command in a signal. As an example, I have a entry signal that uses a Buy on Stop order type. The actual buy price is a variable that is carried over from one bar to the next. When executing the line with the Buy order, I would like to plot this Buy Stop order price on ...
by TJ
01 Sep 2011
Forum: MultiCharts
Topic: IB-TWS Multicharts Updaters
Replies: 8
Views: 2492

Re: IB-TWS Multicharts Updaters

I'd like to add two questions to this: I was planning to update TWS this weekend to the version ilt0000 uses, but judging from his comment this is not a good idea? A more general question is: does MultiCharts advise to update the standalone IB TWS as soon as there is a new TWS version available, or...
by TJ
01 Sep 2011
Forum: MultiCharts
Topic: Date and Time to String, What do I miss???
Replies: 4
Views: 2115

Re: Date and Time to String, What do I miss???

this might give you an leg up in understanding date/time:
Programmer's Data Box
http://www.traderslaboratory.com/forums ... a-box.html
by TJ
01 Sep 2011
Forum: MultiCharts
Topic: Date and Time to String, What do I miss???
Replies: 4
Views: 2115

Re: Date and Time to String, What do I miss???

Hello I want to create a string to represent the ending date and time of a bar Date string = YYYMMDD Time string = HH:MM:SS. To start i use: DatetoString(Date) return: 4941-07-16 // date = 2011-09-01 TimeToString (Time) return 00:00:00 // time = 09:45 Obviously it is not the proper way since the ou...
by TJ
30 Aug 2011
Forum: MultiCharts
Topic: Stops Slippage with IB
Replies: 11
Views: 2642

Re: Stops Slippage with IB

Thanks for your reply Henry. I've given you the sell stop order as an example but you're right I should have copied / pasted the line for the buy stop. The problem is clearly the 8,5 pips difference between the stop order issued and the filled price. This is an Intreactive Brokers demo account, do ...
by TJ
30 Aug 2011
Forum: MultiCharts
Topic: How to create real Tickbar Charts with IB Data?
Replies: 2
Views: 971

Re: How to create real Tickbar Charts with IB Data?

Hello community, I tried to use a 1-Tick-Chart in ES with datafeed IB.When I compare this chart with the times&sales of IB I get a massive difference. Looking to the "tick"-data in Quotemanager I found only 1 tick data per 1 second while in IB T&S there are 5 or more ticks per the same second. In t...
by TJ
30 Aug 2011
Forum: MultiCharts
Topic: Color MultiChart Background
Replies: 2
Views: 1030

Re: Color MultiChart Background

125 Is it possible to color chart background,if price>MovAvg,then color chart background Blue Regards Milton You cannot change the chart background color through EasyLanguage, but you can mimic it. see example here: Paint the Town Red http://www.traderslaboratory.com/forums/trading-indicators/5721-p...
by TJ
29 Aug 2011
Forum: MultiCharts
Topic: MACD Crossover Signal, and then Trailing Stop.
Replies: 4
Views: 2905

Re: MACD Crossover Signal, and then Trailing Stop.

Please use code tag when posting codes. It makes reading codes easier.
by TJ
29 Aug 2011
Forum: MultiCharts
Topic: Barstatus[1] =2 when IOG = true
Replies: 4
Views: 893

Re: Barstatus[1] =2 when IOG = true

note different brackets.
by TJ
29 Aug 2011
Forum: MultiCharts
Topic: Plotting CCI TLine
Replies: 4
Views: 1352

Re: Plotting CCI TLine

Thanks, I like the second option If LastBarOnChart then Value5 = TL_New_self ( D, T, 116, D[100], T[100], 116); but when I insert the indicator in the chart it does not plot the Trendline at all. Am I missing something? Thanks If you need more help, you have to give more information. A line by itse...
by TJ
29 Aug 2011
Forum: MultiCharts
Topic: Barstatus[1] =2 when IOG = true
Replies: 4
Views: 893

Re: Barstatus[1] =2 when IOG = true

Hello I want to test some data when last bar as ended. To do so, I use If barStatus[1] = 2 then begin... Problem is I got IOG = True. Then my tested bar is done on every tick. How do I test for ended bar (BarStatus[1] = 2 ) when IOG = True Hope I'm clear enough Martin you cannot use [1] on BarStatu...
by TJ
28 Aug 2011
Forum: MultiCharts
Topic: Plotting CCI TLine
Replies: 4
Views: 1352

Re: Plotting CCI TLine

In the screenshot below I have a Price Barchart with its values on the Right Axis and an indicator (CCI ploted in Magenta) with its values in the Left Axis. The PL code below plots the Trendline in Cyan at value 116 based on the Price Barchart values. My question is how do I modify the PL code (sho...
by TJ
25 Aug 2011
Forum: MultiCharts
Topic: MC slows to a crawl, CPU pinned at 100 @ 3:55pm everyday
Replies: 4
Views: 1193

Re: MC slows to a crawl, CPU pinned at 100 @ 3:55pm everyday

Not sure whats going on here but at 3:55pm *on the dot* everyday like clockwork MC slows to a crawl, cpu usage skyrockets and the q/s thing on bottom right of the screen turns red at 2900ish/3 or 6 How do i fix this? The q/s is showing you how many quotes are in the queue, and how many seconds dela...
by TJ
25 Aug 2011
Forum: MultiCharts
Topic: Signal disappeared from chart - IB data - PC clock
Replies: 8
Views: 2567

Re: Signal disappeared from chart - IB data - PC clock

Thanks TJ,

I am running Vista and dimension4 won't work with it.
...
I am using Vista; according to their webpage, it is supported by dimension4.
by TJ
25 Aug 2011
Forum: MultiCharts
Topic: Signal disappeared from chart - IB data - PC clock
Replies: 8
Views: 2567

Re: Signal disappeared from chart - IB data - PC clock

Thanks TJ, I am running Vista and dimension4 won't work with it. I am currently in Asia - opposite end of NY (even though I am synching with EST). Distance from IB servers - that might be a reason as you suggest, but I am not sure. Interestingly, I noticed that if I first change time manually on my...
by TJ
25 Aug 2011
Forum: MultiCharts
Topic: Reference a variable from another Signal
Replies: 1
Views: 844

Re: Reference a variable from another Signal

Hi, I am using 2 signals (sig1 and sig2) in my MC7 trading strategy. I want sig1 to read the value of a variable from sig2. How do I do this without combining the 2 signals into one? Am I talking about using a global variable? If so, how do I do it? Cheers Champski You will need to use Globalvariab...
by TJ
25 Aug 2011
Forum: MultiCharts
Topic: Signal disappeared from chart - IB data - PC clock
Replies: 8
Views: 2567

Re: Signal disappeared from chart - IB data - PC clock

I use dimension4 to sync my PC clock.
The time matches the TWS time to the second.
http://thinkman.com/dimension4/index.htm

The time delay can depend on the distance (hops) you are from the IB server.
by TJ
22 Aug 2011
Forum: MultiCharts
Topic: Creating or modifying trendline cause MC to hang
Replies: 2
Views: 691

Re: Creating or modifying trendline cause MC to hang

If you want to do trendline trading,
have you looked at this code?

Trendline Trader
http://www.tradersxchange.com/viewtopic.php?f=31&t=673
by TJ
22 Aug 2011
Forum: MultiCharts
Topic: 2 indicators have the "same" code but not same value ???
Replies: 6
Views: 1608

Re: 2 indicators have the "same" code but not same value ???

TJ Both indicators are scaled to the instrument When you click and hold the cursor at the last bar, the hint window should pop up. What do values you see on the indicators? Values are differents Nuno if the values are different, the problem is in your indicators . Please check your code again. I am...
by TJ
22 Aug 2011
Forum: MultiCharts
Topic: Scrolling and Price staying visible
Replies: 4
Views: 1228

Re: Scrolling and Price staying visible

Is it possible to get price to stay in the viewport without resetting the scale? The reason I changed the scale in the first place remains.

Thanks,

MF.
Right click on chart,
select "Format Instruments",
under "Scaling" Tab
select "Movement Size".
by TJ
21 Aug 2011
Forum: MultiCharts
Topic: Scrolling and Price staying visible
Replies: 4
Views: 1228

Re: Scrolling and Price staying visible

Hi- Just got the app working and have been playing with it. I notice that when I increase the width of my candlesticks, and then scroll left or right, the price isnt kept visible if it drops off or rises above the visible price scale on the chart (if that makes sense). If price has gone out through...
by TJ
21 Aug 2011
Forum: MultiCharts
Topic: 2 indicators have the "same" code but not same value ???
Replies: 6
Views: 1608

Re: 2 indicators have the "same" code but not same value ???

Thank you TJ for the 2 indicators, Max bars back set to auto detect the first indicator is display from barnumber 7 and the second indicator from barnumber 205 Nuno probably you did, but doesn't hurt asking... Have you checked to make sure both indicators are scaled to the instrument? When you clic...
by TJ
21 Aug 2011
Forum: MultiCharts
Topic: 2 indicators have the "same" code but not same value ???
Replies: 6
Views: 1608

Re: 2 indicators have the "same" code but not same value ???

Hi where is the error the 2 indicators have the same code but not same value I have just ran a test with your codes, the values are the same. see attached. The thick cyan line is the xaverage from your first indicator, and the red line (overlay) is from your second indicator. https://www.multichart...
by TJ
20 Aug 2011
Forum: MultiCharts
Topic: Partial fill issue
Replies: 8
Views: 2477

Re: Partial fill issue

TJ I am trading Futures, Emin SnP. Yes, i mentioned the situations; a) Limit orders Must not be filled partially b) if not filled limit then should be canceled at exchange close time at 3:15 pm Awaiting Faraz: What you have is a general idea. To turn the idea into specific executable instructions, ...
by TJ
19 Aug 2011
Forum: MultiCharts
Topic: Partial fill issue
Replies: 8
Views: 2477

Re: Partial fill issue

Hi, I want that my limit orders should not get partial fill. It should be filled completely or wait to get filled so that my strategy stay on one direction. I have been told to use Fill or Kill orders but my broker is saying that FOK orders mean that they will be canceled immediately if not get fil...
by TJ
19 Aug 2011
Forum: MultiCharts
Topic: Vote for new function: PlaceOrder
Replies: 1
Views: 565

Re: Vote for new function: PlaceOrder

I put a request for a new function : PlaceOrder This function is available in EasyLanguage and is described on page 270 of https://www.TS.com/support/books/pdf/EL_FunctionsAndReservedWords_Ref.pdf It allow to send in a single line a complete order that may include - Stop Entry price - If execute, a...
by TJ
18 Aug 2011
Forum: MultiCharts
Topic: Remove price gaps between trading sessions
Replies: 3
Views: 840

Re: Remove price gaps between trading sessions

Thanks for that, it would be great if the JHM indicators were built into Multicharts.
Most of them are already available as indicators:
PRV, Lateral, Squeeze, etc.,
by TJ
18 Aug 2011
Forum: MultiCharts
Topic: Remove price gaps between trading sessions
Replies: 3
Views: 840

Re: Remove price gaps between trading sessions

Is it possible to remove the gap between the close of the previous trading session with the open on the current trading session.

Thanks
are you looking for the Hershey indicators?

try this one:
Shifted
http://www.traderslaboratory.com/forums ... ifted.html


69.36
by TJ
18 Aug 2011
Forum: MultiCharts
Topic: Manual, Reference, etc. for MC 7
Replies: 17
Views: 3914

Re: Manual, Reference, etc. for MC 7

Absolutely agree, the minimum is to have a description of the reserved words, the funtions, indicators and signals. This is a real lack. Just press [F1] ... you will find the description, explanation, and usage example to 99.99% the reserved words there. The rest of the 0.01% is a moving target -- ...
by TJ
17 Aug 2011
Forum: User Contributed Studies and Indicator Library
Topic: spread charts
Replies: 25
Views: 14446

Re: spread charts

Hey guys, any update on this feature?

I saw as example a spread on the same symbol, so frontmonth vs soon to be frontmonth for example.

Can one also setup for example ESU11- YMZ11?

TIA,
cosmic
you can easily do this with the code posted above.
by TJ
16 Aug 2011
Forum: MultiCharts
Topic: Native Higher Timeframe
Replies: 15
Views: 7050

Re: Native Higher Timeframe

Hi Dave, I have never found this to work properly. In my case, I have simply tried to plot the daily 10 ema on a 15 min chart, and it doesn't plot properly. I have reported this in the past (as have others) and the response I have received has been related to differences in the scale, which I never...
by TJ
16 Aug 2011
Forum: MultiCharts
Topic: Native Higher Timeframe
Replies: 15
Views: 7050

Re: Native Higher Timeframe

Hi TJ,
...

What will you suggest in writing MFT indicators without using array?

...
using data2 is the simplest solution.
by TJ
16 Aug 2011
Forum: MultiCharts
Topic: Native Higher Timeframe
Replies: 15
Views: 7050

Re: Native Higher Timeframe

Hi TJ, If I want to use MTF trading strategy or a indicator in Multichart, I got to load a subchart 2 which has a different timeframe. In my strategy, I got to use data2 in my signal to generate signals. I cannot do a optimisation on the "timeframe" to see which combination is the best. ... you can...
by TJ
16 Aug 2011
Forum: MultiCharts
Topic: Native Higher Timeframe
Replies: 15
Views: 7050

Re: Native Higher Timeframe

Hi TJ, ... How do you use GlobalVariables, or ADE to transfer data between charts? do a search in this forum, there are a few threads on the topic. also see: http://www.traderslaboratory.com/forums/trading-indicators/6023-global-variable-v2-2-a.html http://www.traderslaboratory.com/forums/trading-i...
by TJ
16 Aug 2011
Forum: MultiCharts
Topic: Native Higher Timeframe
Replies: 15
Views: 7050

Re: Native Higher Timeframe

Will be very good to have it. In fact, MTF (Multiple Time Frame) strategies or indicators are not so easy to write. Because we have to use Array to compute a new set of OHLC before we can use it. I believe there may be less than 5% of the traders know how to program this unless you have programming...
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: Variable Input Indicators
Replies: 4
Views: 937

Re: Variable Input Indicators

I don't actually want to change the length of a moving average - that was only a hypothetical example. The broader point is to have indicators that are capable of varying their inputs on the basis of another indicator's reading as of the current bar. Is this possible?? YES YES YES... that's the who...
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: Variable Input Indicators
Replies: 4
Views: 937

Re: Variable Input Indicators

First post here - just want to say that I'm very happy with MultiCharts so far and glad i went with this platform as opposed to some of the others that are out there. For what I need I think it'll really get the job done. My only experience with programming is with TS a handful of years ago, and qu...
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: Refreshing Charts
Replies: 7
Views: 1369

Re: Refreshing Charts

Hi TJ, I am trying to review the differences between condensed data charts vs realtime data charts. Condensed I mean refreshed charts every 5 seconds or so. Thereafter, I would like to test and learn more of the actual difference you spoke of regarding the NCT charts, etc. Thank you. mno I do not u...
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: Refreshing Charts
Replies: 7
Views: 1369

Re: Refreshing Charts

Hello, I am refreshing my charts via a keyboard macro every other 5 seconds and MC crashed within the first hour so I am trying to refresh every other 10 seconds and see if that's more stable. My questions are: 1. What is the fastest / most stable ways to refresh charts? Are my options only via the...
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: Backtesting vs. Realtime with Line Break and Kagi Charts
Replies: 9
Views: 4431

Re: Backtesting vs. Realtime with Line Break and Kagi Charts

Before careful when backtesting with non-time based charts, especially range based chart... they simply don't do well, not because of MultiCharts... use any charting program and you will get the same inconsistency. One of the problem is, range based charts are hindsights. Let me explain: on a time b...
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: bracket orders with Easylanguage [SOLVED]
Replies: 7
Views: 3193

Re: bracket orders with Easylanguage [SOLVED]

Hello I'm already coding using flowcharts, on a traditional way. But I'd like to step forward coding with bracket orders in order to get faster responses in choppy markets. The other advantage of using bracket orders is that I'm protected against data connection losses. I can even send all my brack...
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: bracket orders with Easylanguage [SOLVED]
Replies: 7
Views: 3193

Re: bracket orders with Easylanguage [SOLVED]

on complex logic, especially on strategy that requires multiple orders,
you will find coding a lot easier if you start with a flow chart.
by TJ
15 Aug 2011
Forum: MultiCharts
Topic: Access overnight data on day-session chart
Replies: 1
Views: 653

Re: Access overnight data on day-session chart

Hi, I would like to access overnight data for an indicator which should be plotted on a day session chart. Is this possible? I tried to add a second data series with overnight data and hide it, but the result is a big time gap in the day session chart. You can set up a second chart with the overnig...
by TJ
13 Aug 2011
Forum: MultiCharts
Topic: Entry based on a dynamic value in indicator
Replies: 1
Views: 532

Re: Entry based on a dynamic value in indicator

Does anybody know how to or can show me an EL code snippet or direct me to another thread link. I want to create a strategy where I enter long when an indicator crosses up a specific value. This value tho I want it to be dynamic so I can change it manually via text object on the chart window, rathe...
by TJ
12 Aug 2011
Forum: MultiCharts
Topic: some detail questions about WalkForwardTest
Replies: 6
Views: 1674

Re: some detail questions about WalkForwardTest

two questions: 1. how indicator values and trading algorithms are calculated in OOS. plz see my attachment for detail. 2. How trade is managed in OOS. If I have a open position in the first OOS session, MC will let it open or close this position at the end of the OOS session. If MC will keep the op...
by TJ
10 Aug 2011
Forum: MultiCharts
Topic: Backtesting an Real life....
Replies: 3
Views: 1037

Re: Backtesting an Real life....

I developed a trading system that backtests super, just looks at the strategy analysis picture. However on a trail account results were somehow different. To much though. At what parameters do i need to look to say the back test is reliable.? this post might help: https://www.multicharts.com/discus...
by TJ
08 Aug 2011
Forum: MultiCharts
Topic: MC 7 and Global variables?
Replies: 11
Views: 1791

Re: MC 7 and Global variables?

This code does not work in MC 7 I did install GV version 2.2 variables: MyBigString( "" ) ; If barnumber = 100 then begin Print ("My GV string is: "); MyBigString = "Four score and seven years ago our fathers brought forth on this " + "continent, a new nation, conceived in Liberty, and dedicated to...
by TJ
06 Aug 2011
Forum: MultiCharts
Topic: No FXCM datafeed to Multicharts
Replies: 3
Views: 1267

Re: No FXCM datafeed to Multicharts

Just subscribed to multicharts quarterly license. But only demoworkspace shows up and FXCM is not included in the list of datasources. So I can't really use it to do any trading. How I can solve this problem? see this post: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=8485&p=40051&hil...
by TJ
05 Aug 2011
Forum: MultiCharts
Topic: How to make MC doesn't reverse my trade if needed?
Replies: 6
Views: 1573

Re: How to make MC doesn't reverse my trade if needed?

The problem is how to liquidate my positions without getting reversed by MC automatically? your liquidation code should be able to do that without error. Can you draw a flow chart to illustrate your logic? I find out the problem myself. thx any way. pal As a mutual beneficial community, you should ...
by TJ
04 Aug 2011
Forum: MultiCharts
Topic: Missing bars on 5min chart
Replies: 7
Views: 1623

Re: Missing bars on 5min chart

TJ, Yes, this is the missing bar or should I say, this is the gap in the chart. Why???? Neil. I don't know why. I can see the gap, but according to the time axis, there is no missing data. The previous bar is 14:55, and the next bar is 15:00. You should let technical support see it in live chat.
by TJ
04 Aug 2011
Forum: MultiCharts
Topic: PL. TL and Indicator strategy question
Replies: 10
Views: 1972

Re: PL. TL and Indicator strategy question

TJ, Thanks for your input. In reality I'm not trying to become an expert in ELD coding. While I want to learn I'm just trying to resolve the indicators and strategies I need withouth going to great lenghts. The forums here are very nice but don't seem to answer the questions I have. OK, I see the p...
by TJ
04 Aug 2011
Forum: MultiCharts
Topic: Missing bars on 5min chart
Replies: 7
Views: 1623

Re: Missing bars on 5min chart

Hi, Occasionally I get missing bars on the 5min chart. These seem to coincide with no price change on the last minute of the bar. The last 1min bar of this period had trades, there is volume for this bar. Regardless, the preceding 4min bars that make up the missing 5min bar, all have trades and pri...
by TJ
04 Aug 2011
Forum: MultiCharts
Topic: PL. TL and Indicator strategy question
Replies: 10
Views: 1972

Re: PL. TL and Indicator strategy question

Thanks, I've been looking for a Power Language (ELD coding) teacher... I've seen all the documents and videos available, but there are some specific questions I need help within developing code. Any suggestions welcome. Thanks Seeing the document is not enough, you have to read them, study them, an...
by TJ
04 Aug 2011
Forum: MultiCharts
Topic: Missing bars on 5min chart
Replies: 7
Views: 1623

Re: Missing bars on 5min chart

Another 5min bar missing yesterday.
They are there on the tick, 1min but there is a gap in the 5min.

Neil.
Do you have 2 data series in the 5 min chart?
by TJ
04 Aug 2011
Forum: MultiCharts
Topic: How to make MC doesn't reverse my trade if needed?
Replies: 6
Views: 1573

Re: How to make MC doesn't reverse my trade if needed?

The problem is how to liquidate my positions without getting reversed by MC automatically?
your liquidation code should be able to do that without error.

Can you draw a flow chart to illustrate your logic?
by TJ
04 Aug 2011
Forum: MultiCharts
Topic: How to make MC doesn't reverse my trade if needed?
Replies: 6
Views: 1573

Re: How to make MC doesn't reverse my trade if needed?

it is easier to go the other way...

Code: Select all

if time < lasthour then
begin

// put your trading logic here

end
else

// liquidate your positions
by TJ
04 Aug 2011
Forum: User Contributed Studies and Indicator Library
Topic: Price Volume Rank (PVR)
Replies: 2
Views: 2863

Re: Price Volume Rank (PVR)

Dear MC Team, could you please add the PVR: http://www.csidata.com/studies/Price_Volume_Rank.html http://www.iqbroker.com/technical-indicators/price-volume-rank.aspx?id=Indicator_1711 to the indicator data base of MC in the next release? That would be great! all you have to do is type in the few li...
by TJ
02 Aug 2011
Forum: MultiCharts
Topic: Tie one system to another
Replies: 5
Views: 1249

Re: Tie one system to another

p.s.

Code: Select all

xaverage(close of data2,lengthTrendAvg)
should be written as
xaverage(close, lengthTrendAvg) of data2
see post #5
viewtopic.php?f=16&t=6929
by TJ
02 Aug 2011
Forum: MultiCharts
Topic: Tie one system to another
Replies: 5
Views: 1249

Re: Tie one system to another

please use code tag when posting codes. It makes reading codes easier. I have added the tags for you below: [IntrabarOrderGeneration = true] inputs: lengthTrendAvg(52), lengthBreakout(13), lengthClose(4); {***************************************************************************************} if xa...
by TJ
02 Aug 2011
Forum: MultiCharts
Topic: Need help in plotting an array that I created
Replies: 2
Views: 1132

Re: Need help in plotting an array that I created

1. Please use tag when posting codes. It makes reading easier. 2. Please describe what do you mean by "doesn't seem to work"? no plot? plot the wrong number? compile error? or something else??? Please copy and paste the error message if there is one. 3. Please post a screen shot if it can help you e...
by TJ
01 Aug 2011
Forum: MultiCharts
Topic: Tie one system to another
Replies: 5
Views: 1249

Re: Tie one system to another

Howdy all! I have coded a simple trend system, consisting of a long term moving average element with a breakout element based on weekly end-of-day data, and a "close of data1/close of data2" chart showing the trade executions on the daily data. But I have hit a sticky point. The system executes a "...
by TJ
31 Jul 2011
Forum: MultiCharts
Topic: Print function excuting when it shouldnt
Replies: 14
Views: 2899

Re: Print function excuting when it shouldnt

note: Please use

Code: Select all

tags when posting codes. It makes reading codes easier.
ps. I have added them for you this time.
by TJ
31 Jul 2011
Forum: MultiCharts
Topic: Order Status Checking
Replies: 6
Views: 1691

Re: Order Status Checking

When learning or testing an autotrade strategy,
please always use a simulated account to try out the logic and order processing.

InteractiveBrokers' demo system is free, and it does not require registration.
by TJ
31 Jul 2011
Forum: MultiCharts
Topic: Order Status Checking
Replies: 6
Views: 1691

Re: Order Status Checking

note: Please use

Code: Select all

tags when posting codes. It makes reading easier.
ps. I have added them for you this time.
by TJ
30 Jul 2011
Forum: MultiCharts
Topic: One day, one feature!
Replies: 17
Views: 6138

Re: One day, one feature!

... 2. A native chart pattern recognition feature. Actually there is just a few indicators that can detect only a few basics patterns (double bottom/top, head & shoulder and penant). If you go on the Bulkowski website (http://thepatternsite.com/), you can see there a lot more. Only his old program ...
by TJ
30 Jul 2011
Forum: MultiCharts
Topic: One day, one feature!
Replies: 17
Views: 6138

Re: One day, one feature!

... - A feature that allows to retrieve financial ratios (EPS/EBIDTA ...) from some financial providers and to plot it on a chart. (I do not know if such providers exists in America?) It would be then possible to use these financial ratios in your powerlanguage formula. ... :) I remember seeing an ...
by TJ
30 Jul 2011
Forum: MultiCharts
Topic: One day, one feature!
Replies: 17
Views: 6138

Re: One day, one feature!

...
- A feature to import/convert MQL files? (MT4/MT5) in PowerLanguage.
Or a way to use them? Same with c# of NT? Maybe more interoperability with others softwares?

:)
The languages have different structure, designed with different philosophy,
thus they are not line-by-line translatable.
by TJ
30 Jul 2011
Forum: MultiCharts
Topic: One day, one feature!
Replies: 17
Views: 6138

Re: One day, one feature!

...

- An easy to put automatic trendlines on your own indicators or on oscillators (rsi, tsi, cci...).

:)
These are already done,
The codes are on web; I don't have the links handy, I will post them if I come across them again.
by TJ
30 Jul 2011
Forum: MultiCharts
Topic: How to Lift Limitation on Bars Per Day?
Replies: 7
Views: 1299

Re: How to Lift Limitation on Bars Per Day?

The issue is not the maximum bars per chart but the maximum bars per DAY or trading session. I already have HKEY_CURRENT_USER\Software\TS Support\MultiCharts\Shaper\MaxBarsCount at 20,000,000; the limit of 1,000,000 bars per DAY (ie trading session) remains regardless. What is your chart resolution...
by TJ
29 Jul 2011
Forum: MultiCharts
Topic: How to Lift Limitation on Bars Per Day?
Replies: 7
Views: 1299

Re: How to Lift Limitation on Bars Per Day?

There appears to be a 1,000,000 bar limit on bars per trading interval (i.e. per day of trading). Some very active symbols can currently exceed this, resulting in the first part of each day being dropped from the chart when it is reloaded. What registry entry do I change to correct this? see post #...
by TJ
27 Jul 2011
Forum: MultiCharts
Topic: One day, one feature!
Replies: 17
Views: 6138

Re: One day, one feature!

In order to improve MultiCharts, I think it is important to present our ideas and our desires. So here are some features I'd like to see in MultiCharts! Vote for me and also post your features! :) 1. A feature that allows you to draw trend lines, supports and resistances natively. You click on a bu...
by TJ
27 Jul 2011
Forum: MultiCharts
Topic: PL. TL and Indicator strategy question
Replies: 10
Views: 1972

Re: PL. TL and Indicator strategy question

TJ, Thanks, I'm not sure I follow you, can you give me an example. Your concept is simple, but coding it will take days. Explaining it (ie teaching) will take even longer. If you are not sure on how to set up a variable, may I suggest you start from post #1: https://www.multicharts.com/discussion/v...
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: PL. TL and Indicator strategy question
Replies: 10
Views: 1972

Re: PL. TL and Indicator strategy question

TJ Thanks for responding. The current ELD strategy code enters long at ALL Trendline breaks at "o" as shown in screenshot. Basically what I want to include in the strategy is a filter so I only enter when the Trendline is broken if the previous Pivot Low before trendline break is higher than the Pi...
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: Help requested trying to track losing trades in a strategy
Replies: 9
Views: 1683

Re: Help requested trying to track losing trades in a strate

I don't know... ... is there a place I can look that up? ...
Press [F1]

most of the answers are there.
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: Help requested trying to track losing trades in a strategy
Replies: 9
Views: 1683

Re: Help requested trying to track losing trades in a strate

I don't know... ... is there a place I can look that up? I am a rookie at this stuff but trying to learn. I would think that marketposition[1] is either -1 (short trade) 0 (no trade) or 1 (long trade) one bar ago... I am not familiar with the use of marketposition(1) see the first 2 posts https://w...
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: Help requested trying to track losing trades in a strategy
Replies: 9
Views: 1683

Re: Help requested trying to track losing trades in a strate

If the last trade was a losing trade then add that trade count to a cumulative total of losing trades. For example today there are 4 losing trades so far i.e. counter = 4 There are a few errors. Let's start with the first one. What is the difference between these 2 keywords? marketposition[1] marke...
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: Help requested trying to track losing trades in a strategy
Replies: 9
Views: 1683

Re: Help requested trying to track losing trades in a strate

thanks for helping but that wasn't it...

the netprofit code isn't working.. took it out and it counts fine
Can you write out in plain English what you would like the logic to achieve?
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: Help requested trying to track losing trades in a strategy
Replies: 9
Views: 1683

Re: Help requested trying to track losing trades in a strate

how come this isn't working? vars: counter ( 0 ); If marketposition = 0 and marketposition[1] <> 0 and netprofit < netprofit[1] then begin counter = counter + 1; end; counter isn't counting but netprofit is changing 1. please use code tag when posting codes. 2. MarketPosition(PosBack) <-- note brac...
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: Indicator Help: Error : {EXCEPTION} Opération en virgule
Replies: 6
Views: 1319

Re: Indicator Help: Error : {EXCEPTION} Opération en virgule

TJ and JoshM here again the code: i forgot one line : MyValue = WiMA.Hausse / WiMA.Baisse; Compilation impossible I use MultiCharts Version 7.0 Release (Build 4510) Inputs: Price(Close), Macd.Length(5), Wilder.Length(10); Variables: Dema1(0), X1(0), X2(0), Hausse(0), Baisse(0), WiMA.Hausse(0), WiMA...
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: PL. TL and Indicator strategy question
Replies: 10
Views: 1972

Re: PL. TL and Indicator strategy question

In the EL strategy below, the strategy triggers buy orders when the trendlines are crossed up by the indicator (see screenshot). I want to FILTER OUT instances when the indicator is NOT doing higher lows. (see trendline to the far left in the screenshot) The 2 trendline crossings on the right in th...
by TJ
26 Jul 2011
Forum: User Contributed Studies and Indicator Library
Topic: Simple Standard Deviation Entries
Replies: 6
Views: 4500

Re: Simple Standard Deviation Entries

Thanks TJ

is it possible to refer calculations on Data2 and then executing on data series 1?

This could be a work around for my logic.

regards

p

Please read point #5 in post #4 above


Please also read post #4 here:
viewtopic.php?f=16&t=6929
by TJ
26 Jul 2011
Forum: MultiCharts
Topic: Indicator Help: Error : {EXCEPTION} Opération en virgule
Replies: 6
Views: 1319

Re: Indicator Help: Error : {EXCEPTION} Opération en virgule

Hi i created an indicator but i have an error: "Error un study: {EXCEPTION} Opération en virgule flotante non valide " Can someone help me ? thanks here is the indicator: Inputs: Price(Close), Macd.Length(5), Wilder.Length(10); Variables: Dema1(0), X1(0), X2(0), Hausse(0), Baisse(0), WiMA.Hausse(0)...
by TJ
26 Jul 2011
Forum: User Contributed Studies and Indicator Library
Topic: Simple Standard Deviation Entries
Replies: 6
Views: 4500

Re: Simple Standard Deviation Entries

I am trying to write some code for simple Standard Deviation Entries. This would be on current bar +/- X SD there would be Long limit order and a short limit order on the current bar Here is the code I have written code someone with more coding skills then me take a look and help me to correct this...
by TJ
24 Jul 2011
Forum: MultiCharts
Topic: Reading directly from Excel DDE vs Globalserver
Replies: 17
Views: 6412

Re: Reading directly from Excel DDE vs Globalserver

Hello CrazyNasdaq, Thank you much for your insight and thoughts. I am always learning and I totally agree that I am behind in getting the proper data feed and maximizing my chances. As for the excel DDE, I wish I had access to the fast fix protocol as you have enlightened. Unfortunately, I am overs...
by TJ
23 Jul 2011
Forum: MultiCharts
Topic: Hi, I have a qustion -- Realtime-history matching
Replies: 1
Views: 907

Re: Hi, I have a qustion.

What is the "Realtime-history matching"? Please explain to me. Regards A.See This option is used when you have more than one data series, and you want to synchronize the ticks between the data series. When this option is checked, MultiCharts would wait to calculate a study until a tick is received ...
by TJ
23 Jul 2011
Forum: MultiCharts
Topic: lower projection band [SOLVED]
Replies: 1
Views: 794

Re: lower projection band [SOLVED]

please sign in to the main forum and re-post the question over there.
by TJ
23 Jul 2011
Forum: MultiCharts
Topic: SetProfitTarget Function
Replies: 3
Views: 1045

Re: SetProfitTarget Function

Anybody else having problems with the "SetProfitTarget" function? {profit target code snippet} variable: profitTarget(0), targetPrice(0); {The profit target function is "NOT" 100% accurate "ALL" of the time} SetProfitTarget(profitTarget); {This profit target code is 100% accurate "ALL" of the time}...
by TJ
22 Jul 2011
Forum: MultiCharts
Topic: Save data - question
Replies: 20
Views: 4936

Re: Re:

... my trading computer runs 24/7 though I restart it every weekend to clean memory and also clean possible viruses, bad registry entries and all sort of problems that windows can produce :wink: ... Be careful. MC collects the data in a cache. The data is written to the database when you EXIT the p...
by TJ
22 Jul 2011
Forum: MultiCharts
Topic: VWAP reset Indicator
Replies: 3
Views: 3434

Re: VWAP reset Indicator

2) Input elements -the 5 time slots - it doesn't matter what your inputs are, the VWAP value doesn't change. This doesn't make sense, as the day processes, VWAP should change because volume and price constantly change. - Why 5 time slots? the VWAP is reset everyday and at the time slots. So does th...
by TJ
21 Jul 2011
Forum: MultiCharts
Topic: VWAP reset Indicator
Replies: 3
Views: 3434

Re: VWAP reset Indicator

Hello, Could anyone help me understand the VWAP reset indicator? 1) Input element Price - default is avgprice, how is this avgprice calculated? avgprice is a built-in function. you can find the code in the PowerLanguageEditor. 2) Input elements -the 5 time slots - it doesn't matter what your inputs...
by TJ
21 Jul 2011
Forum: User Contributed Studies and Indicator Library
Topic: In String (Instr "Text,Of,a string")..2' occurence of ","
Replies: 2
Views: 2660

Re: In String (Instr "Text,Of,a string")..2' occurence of ",

Hello Maybe a simple question, but i did not resolved it I got a string "Text,Of,a string") I want to decode what is the characters number for each comma " , " Instr("Text,Of,a string"), "," ) will give me the occurrence of the first "," I need to get it for all " , " of the string. In Excel it is ...
by TJ
20 Jul 2011
Forum: MultiCharts
Topic: Computer Spec - Max Memory that MC7 can address
Replies: 7
Views: 1826

Re: Computer Spec - Max Memory that MC7 can address

am running 32 workspaces/charts with 10years of historical Daily data - Daily Strategy 4 workspaces with Data 1 60min and Data 2 Daily over 10years - Hourly Strategy does this sound like a lot of data ? MultiCharts should be able to handle it. daily charts do not take up a lot of spaces. (250 X 10 ...
by TJ
20 Jul 2011
Forum: MultiCharts
Topic: Computer Spec - Max Memory that MC7 can address
Replies: 7
Views: 1826

Re: Computer Spec - Max Memory that MC7 can address

MultiCharts give a warning when the memory usage is at the 75% level.
This warning can be modified.
For more information.
see post #10
viewtopic.php?f=16&t=6845
by TJ
20 Jul 2011
Forum: MultiCharts
Topic: Computer Spec - Max Memory that MC7 can address
Replies: 7
Views: 1826

Re: Computer Spec - Max Memory that MC7 can address

I have the following computer spec Windows 7, 8GB RAM, 64Bit, Quad , i5 CPU I am running alot of workspaces and a lot of historical data and sometime I am getting a message that MC is running out of memory - to reduce the number of bars.... Am thinking of getting more memory - will this fix the iss...
by TJ
20 Jul 2011
Forum: MultiCharts
Topic: Need help in creating Custom Futures
Replies: 7
Views: 1904

Re: Some Custom Futures

I'm a little confused about Custom Futures (and data collection). Custom futures are virtue symbols; they have no data of their own. ... Would that also mean that the Custom Future changes the data of the individual future contracts from which it is "build" when a Back Adjustment Mode is selected, ...
by TJ
20 Jul 2011
Forum: MultiCharts
Topic: Pivot value using PivotHighVS not always valid
Replies: 4
Views: 1345

Re: Pivot value using PivotHighVS not always valid

Thanks TJ, I will give it a try. So simple when the nose is placed further than the problem :)
note: I have edited the code.
by TJ
20 Jul 2011
Forum: MultiCharts
Topic: Pivot value using PivotHighVS not always valid
Replies: 4
Views: 1345

Re: Pivot value using PivotHighVS not always valid

Code: Select all

if LSH1[1] <> PivotHighVS(1, High, 1, 1, 21) then
LSH1 = PivotHighVS(1, High, 1, 1, 21);
by TJ
19 Jul 2011
Forum: MultiCharts
Topic: MC7 crash randomly
Replies: 16
Views: 4047

Re: MC7 crash randomly

Hi, I keep getting random crash saying invalid parameter is passed to service or function. there's also a weird bug that flag order from strategy as manual trading and therefore the auto trading is unusable. I think MC7 is so unstable. Your installation might be corrupted. I would suggest you to un...
by TJ
19 Jul 2011
Forum: MultiCharts
Topic: Best R&D Machine For MultiCharts 7?
Replies: 8
Views: 2108

Re: Best R&D Machine For MultiCharts 7?

I am looking to outfit a new machine for doing research using MultiCharts 7. I would not be using this model for trading, but rather for crunching a lot of data, doing large-scale optimizations, etc. I understand that it's better to have a multi-core processor than a single core, as this allows Mul...
by TJ
17 Jul 2011
Forum: MultiCharts
Topic: MC7: Custom signals can't be added to a chart
Replies: 11
Views: 2890

Re: MC7: Custom signals can't be added to a chart

Solution is here https://www.multicharts.com/discussion/viewtopic.php?f=1&t=8053&p=37284&hilit=compile#p37284 Please read the whole thread before installing Hello garp, Unfortunately, this is NOT the solution to my problem. It may work for _VADU's problem, but if you read this whole thread, you'll ...
by TJ
17 Jul 2011
Forum: MultiCharts
Topic: merging chart data
Replies: 2
Views: 1010

Re: merging chart data

Perhaps I am slow, but I find it impossible to actually merge historical and real time data on the charts. I have tried every combination imaginable, including an online session with "George" at MultiCharts. I cannot make use of historical data from Free Quotes and Real Time data from Interactive B...
by TJ
17 Jul 2011
Forum: MultiCharts
Topic: Send reversal signals on same bar (3 line break chart)
Replies: 2
Views: 1485

Re: Send reversal signals on same bar (3 line break chart)

non-time based charts were never good for autotrading. It is better to use a 3-line break indicator code, convert it to a strategy, then apply it on a time-based chart (eg. minute chart). you can find the 3-line break indicator or 3-bar reversal indicators here: http://www.tradersxchange.com/viewfor...
by TJ
17 Jul 2011
Forum: MultiCharts
Topic: MULTICHARTS 7
Replies: 88
Views: 31010

Re: MULTICHARTS 7

I've just started 'testing' MC7 and I must say I'm quite happy with it. Thanks for a great job MC! :) Perhaps this is a somewhat silly question, but can someone tell me what these buttons to the left of the workspaces are for? http://www.multicharts.com/discussion/download/file.php?id=3725 ... Rega...
by TJ
15 Jul 2011
Forum: MultiCharts
Topic: MULTICHARTS 7
Replies: 88
Views: 31010

Re: MULTICHARTS 7

In terms of upgrading from v6 to v7, is there anything to watch out for? My fear is that when I upgrade, I will have to rebuild my old workspaces. Is that the case?
I am using v7 beta,
all the old wsp still work the same.
by TJ
15 Jul 2011
Forum: MultiCharts
Topic: Programming Language
Replies: 1
Views: 1005

Re: Programming Language

Hi, I like to know a few things about programming. If I like to take up a programming course that will improve my coding skill, which programming language should I take? C Programming, C# or C++? If we like to build DLL, what do we need from Multichart? Regards, Ken EasyLanguage evolved from Pascal...
by TJ
14 Jul 2011
Forum: MultiCharts
Topic: Save image file as - Problem
Replies: 4
Views: 1691

Re: Save image file as - Problem

I have made a PM request to

make it an option when saving images to whether saving in reverse color.

https://www.multicharts.com/pm/viewissu ... _no=MC-492
by TJ
13 Jul 2011
Forum: MultiCharts
Topic: How to load missing data
Replies: 3
Views: 919

Re: How to load missing data

Hi TJ,

The Ctrl R did the trick.

Thanks,

Neil.
You are welcome.
by TJ
13 Jul 2011
Forum: MultiCharts
Topic: How to load missing data
Replies: 3
Views: 919

Re: How to load missing data

Hi, I'm using the latest MC7 & RC along with IB TWS as the data feed. I'm missing yesterdays Intraday data. The market opens at 9:50 and closes at 16:30. I have no data in MC for this period. The overnight session finished at 7AM and I have data up to this point and the next nights session starts a...
by TJ
12 Jul 2011
Forum: MultiCharts
Topic: Function to print the Time Scale in use
Replies: 4
Views: 1634

Re: Function to print the Time Scale in use

Just in reference here is the code to get a string of the resolution... Martin
wow... this is good !

Thanks for sharing.
by TJ
11 Jul 2011
Forum: MultiCharts
Topic: Passing dynamic array to DLL function fails [SOLVED]
Replies: 1
Views: 1066

Re: Passing dynamic array to DLL function fails [SOLVED]

1. Please log in and use the main forum. This forum is for the DT version only.

2. Please use code tag when posting codes.
by TJ
11 Jul 2011
Forum: MultiCharts
Topic: Function to print the Time Scale in use
Replies: 4
Views: 1634

Re: Function to print the Time Scale in use

Hello

Is there a function to print the time scale in use? Scale time like 1 hours, 3 minutes, daily etc.

Martin
do you mean the chart resolution?

use the BarInterval keyword in conjunction with the BarType_ex keyword.
by TJ
11 Jul 2011
Forum: MultiCharts
Topic: Is it possible to launch Excel within a signal
Replies: 10
Views: 2011

Re: Is it possible to launch Excel within a signal

for ASCII file, or CSV delimited file, which can be read by Excel: you can use the PRINT keyword and specify a filename. PRINT ... File("PathFilename") Where: PathFilename - a string expression specifying the path and filename Specifies an ASCII file as the output target; if the specified file does ...
by TJ
11 Jul 2011
Forum: MultiCharts
Topic: Is it possible to launch Excel within a signal
Replies: 10
Views: 2011

Re: Is it possible to launch Excel within a signal

Hello

Is it possible to test for an Excel file opened and if not found to launch it?

Martin
for excel file?
nothing in EasyLanguage/PowerLanguage that I know of.
by TJ
11 Jul 2011
Forum: MultiCharts
Topic: MULTICHARTS 7 BETA 5 RELEASE -- Questions/Issues
Replies: 76
Views: 23505

Re: MULTICHARTS 7 BETA 5 RELEASE -- Questions/Issues

I don't know if it's me or not, but since MC 7 beta1 version, there's something that have always bothered me. I have 8 monitors, and 12 detached charts per workspace, having only 2 opened workspaces. I spent all day between both workspaces, and what has been happened is this - sometimes, if I'm see...
by TJ
10 Jul 2011
Forum: MultiCharts
Topic: Seconds in Easy Language
Replies: 13
Views: 8404

Re: Re:

is it possible to use seconds in arw_new or tl_new ?
When using Text_New_s, TL_New_s and Arw_New_s, is there a way to force MultiCharts to use the BarNumber for plotting instead of the Time_s?
...
Regards,
Josh
no, you cannot use barnumber to draw objects.
by TJ
07 Jul 2011
Forum: MultiCharts
Topic: Any way to save current data files
Replies: 7
Views: 1393

Re: Any way to save current data files

if you use a 3rd party screen capture program, rather than the built-in screen save,
would it circumvent the memory problem?


eg. http://www.wisdom-soft.com/
by TJ
06 Jul 2011
Forum: MultiCharts
Topic: Error installing Beta 5
Replies: 3
Views: 898

Re: Error installing Beta 5

Hi, getting this error installing beta 5, thanks for any help.

http://screencast.com/t/2gp5103mWZc
Your download is corrupted.

Delete everything, including the previous downloads,
and download the program again.
by TJ
06 Jul 2011
Forum: MultiCharts
Topic: IntrabarOrderGeneration and buy/sell event
Replies: 13
Views: 2056

Re: IntrabarOrderGeneration and buy/sell event

Unfortunately, issue is still here... in my last line of code, after order command I put: messagelog(marketposition,marketposition[1] ); With Intrabar Order Generation activated, logs give me: -1.00 -1.00 -1.00 -1.00 1.00 1.00 1.00 1.00 1.00 1.00 How can this be possible? It is multi timeframe, I p...
by TJ
06 Jul 2011
Forum: MultiCharts
Topic: ATR value at Entry
Replies: 5
Views: 1326

Re: ATR value at Entry

keep these in mind: (except IOG IntrabarOrderGeneration) 1. all strategies are calculated at EOB (end of bar) 2. all orders are in effect for ONE bar only 3. [edited. For updated details, see Stan post below] Therefore if you want the ATR value of a specific bar, you can put the assignment inside a ...
by TJ
06 Jul 2011
Forum: MultiCharts
Topic: Info on how to use ListC.Readfile(ID, Filemname)
Replies: 6
Views: 2430

Re: Info on how to use ListC.Readfile(ID, Filemname).. Resol

Here is my finish result.
...
Martin
Thanks for sharing.
Much appreciated.
by TJ
05 Jul 2011
Forum: MultiCharts
Topic: Need help in plotting array
Replies: 3
Views: 1102

Re: Need help in plotting array

Hi, I created a array in my indicator and I like to plot it onto the chart. My array is a PivotArray[199,2] and I like to plot the entire column 0, how do I plot it? Which syntax to use and how do I structure it? Thanks in advance. Ken can you post a mock up drawing of how you envision the end resu...
by TJ
04 Jul 2011
Forum: MultiCharts
Topic: Custom Futures
Replies: 2
Views: 930

Re: Custom Futures

Like to clarify something. When I am creating a custom futures, I notice there is a back adjustment mode, what is that for? I see Difference, Ratio and No Adjustment in it. Regards, Ken When an old contract is expired, the new contract usually starts trading at a price other than what the old contr...
by TJ
04 Jul 2011
Forum: User Contributed Studies and Indicator Library
Topic: Economic Calendar Indicator for MC
Replies: 15
Views: 16698

Re: Economic Calendar Indicator for MC

It doen't work anymore.
Could you post opencode to improve it please?
Have you read the whole thread?

In all fairness, please first tell us WHAT you have done...
by TJ
03 Jul 2011
Forum: MultiCharts
Topic: Wierd NumToStr() behaviour [Solved]
Replies: 4
Views: 1473

Re: Wierd NumToStr() behaviour

... What am I missing? ... I am weaving through the code and the descriptions and the lines of prints... can you condense the "problem" to the specifics? ie remove all the non-issue codes and post only the area that causes the "problem/error"? Thanks TJ, good point. I've tried to reduce the problem...
by TJ
03 Jul 2011
Forum: MultiCharts
Topic: Wierd NumToStr() behaviour [Solved]
Replies: 4
Views: 1473

Re: Wierd NumToStr() behaviour

...
What am I missing?

...
I am weaving through the code and the descriptions and the lines of prints...

can you condense the "problem" to the specifics?

ie remove all the non-issue codes and post only the area that causes the "problem/error"?
by TJ
03 Jul 2011
Forum: MultiCharts
Topic: Creating a new directory failed:
Replies: 3
Views: 891

Re: Creating a new directory failed:

I'm trying different command from the EL Collection. This one to create a directory failed with a message. "Unable to create directory" I'm using Windows 7 pro 64 If barnumber = 1 then begin If ELC.PathExists("f:\temp\Test.Txt") then print ("Found file"); Value1 = ELC.DirectoryCreate("F:\temp\data\...
by TJ
03 Jul 2011
Forum: MultiCharts
Topic: PowerLanguage Editor Keyboard Problem
Replies: 10
Views: 3684

Re: Keyboard problem: Wrong characters using ALT 92 = 褌

Hello I got a strange problem. For whatever reason, I have difficulties to display some characters in my PowerLanguage editor. The backslash "\" is accessible in a Notebook or Word editor using either the key on my keyboard or with ALT 92. Strangely, when working in the Powerlanguage Editor, the sa...
by TJ
03 Jul 2011
Forum: MultiCharts
Topic: 2x ATR trailing stop
Replies: 3
Views: 1736

Re: 2x ATR trailing stop

Sorry yes I am using the regular version. My apologies.
No problem.

Please log in to the forum and re-post the question at the main forum.
by TJ
03 Jul 2011
Forum: MultiCharts
Topic: 2x ATR trailing stop
Replies: 3
Views: 1736

Re: 2x ATR trailing stop

Hi, I have just downloaded and been experimenting with Multicharts. I am trying to transfer one of my MT4 strategies into a MC signal. However I'm struggling to bring in a basic ATR trailing stop. I have got ATR*2 and converted it to a number representing $10 per pip and then set that using SetDoll...
by TJ
01 Jul 2011
Forum: User Contributed Studies and Indicator Library
Topic: MarketProfile latest version
Replies: 2
Views: 2921

Re: MarketProfile latest version

Please, what is the last version avaible of Marketprofile? Could someone, also multicharts staff or user that have improved, upload the free latest version please? Regards I am sure you can find a few by searching Google. The free ones are good programming exercises, but they are not accurate/preci...
by TJ
30 Jun 2011
Forum: MultiCharts
Topic: Series functions with multiple time frames?
Replies: 4
Views: 1667

Re: Series functions with multiple time frames?

Hi, I'm working on a strategy that uses both daily bars (as data1) and weekly bars (as data2). The weekly bars are used to determine setups based on the long-term trend, and the daily bars are used to determine specific entry points. I would like to be able to determine the EMA of both the daily ba...
by TJ
29 Jun 2011
Forum: MultiCharts
Topic: Toolbars
Replies: 1
Views: 774

Re: Toolbars

Hello, Is there a way to show the toolbars in all the detached chart windows? So I can easily change intervals, draw lines etc. Thanks for providing this awesome product for free. Cheers Only one set of tool bars per desk top. If you prefer, you can open another instance of MultiCharts for a second...
by TJ
28 Jun 2011
Forum: MultiCharts
Topic: A timer to read a text file: How to do that
Replies: 3
Views: 798

Re: A timer to read a text file: How to do that

Excel's can handle update speed of about once every 2 seconds.
by TJ
28 Jun 2011
Forum: MultiCharts
Topic: edit data in QuoteManager error
Replies: 3
Views: 1117

Re: edit data in QuoteManager error

try restart MultiCharts.
by TJ
28 Jun 2011
Forum: MultiCharts
Topic: A timer to read a text file: How to do that
Replies: 3
Views: 798

Re: A timer to read a text file: How to do that

Hello I'm seeking help from the MC community. I want to create a timer that will read a text file F:ExcelStatus.TXT every 200 ms. I know how to read a file and process it, but no idea how to code for a timer. Any help appreciated. Martin 200 ms is a very short time, not worth the trouble of a timer...
by TJ
28 Jun 2011
Forum: MultiCharts
Topic: Error Msg - Your subscription limit of 5 has been reached [SOLVED]
Replies: 10
Views: 3405

Re: Error Msg - Your subscription limit of 5 has been reache [SOLVED]

Stan, thanks for thorough reply. If I understand correctly, if one has let's say daily charts of the S&P 500, NASDAQ and Dow open, if that user then wants to chart a couple stocks, that would be it, the OEC tick limit of 5 charts would be reached... I currently have the default in this workspace as...
by TJ
27 Jun 2011
Forum: MultiCharts
Topic: New and having some issues
Replies: 12
Views: 1819

Re: New and having some issues

2) I used TS for a while and I could save my desktops etc. Here when I close out MC I lose everything and have to reload all my work spaces. I open 2 desktops and 1 will reload but not the other unless its the samething.. Is there any way to save a desktop with all your workspaces. ... Thanks Jeff ...
by TJ
27 Jun 2011
Forum: MultiCharts
Topic: New and having some issues
Replies: 12
Views: 1819

Re: New and having some issues

Hey everyone first time poster. I have been using MC 6.1 for a couple months. I have tried a search for all of these but nothing has answered my questions so if there is a link I missed feel free to point me there. .... When you do a search, just skip most of the posts and zero in on replies by And...
by TJ
27 Jun 2011
Forum: MultiCharts
Topic: Time Counter from Last Trade
Replies: 2
Views: 701

Re: Time Counter from Last Trade

Bear in mind that the keyword "time" refers to the end of bar time, not real time.
by TJ
27 Jun 2011
Forum: MultiCharts
Topic: email alerts
Replies: 6
Views: 2958

Re: email alerts

Please notify me when this feature is implemented

Thanks
Morgan
email alert is already available.

go to:
Format Study > Alerts
by TJ
25 Jun 2011
Forum: MultiCharts
Topic: Error Msg - Your subscription limit of 5 has been reached [SOLVED]
Replies: 10
Views: 3405

Re: Error Msg - Your subscription limit of 5 has been reache [SOLVED]

While in QM, I see this:

Image

Curious as to what this means and if it's broker / datafeed-related.
It is a message from Open E Cry, so it is a server side issue.

What kind of subscription do you have?
by TJ
25 Jun 2011
Forum: MultiCharts
Topic: McClellan Oscillator Error Message
Replies: 3
Views: 1383

Re: McClellan Oscillator Error Message

Whenever I attempt to add this indicator, I get the attached error message. What exactly doe this mean? http://www.northamericanmotoring.com/gallery/data/500/Capture_2.PNG If one's datafeed does not have advance / decline data, might that be the reason? As you suspected, you need 2 data series to u...
by TJ
25 Jun 2011
Forum: MultiCharts
Topic: Need help in creating Custom Futures
Replies: 7
Views: 1904

Re: Need help in creating Custom Futures

Custom futures are virtue symbols; they have no data of their own. Custom future gets its data from the base symbol... in this case, MHI. ie. if you want to see a continuous chart of MHI of the past 2 years, you must first have the past 2 years' data of MHI in your computer. Places you can check: 1....
by TJ
24 Jun 2011
Forum: MultiCharts
Topic: NumToStr() displays an incorrect number of Decimals [Solved]
Replies: 5
Views: 1871

Re: How can you remove the 3 decimal places in MC with the E

The number of decimals for a symbol is regulated through the settings in Quote Manager->Edit Symbol->Settings - Price Scale. I came across this topic when searching for a way to return the number of decimals in a number (for example 5 for 1.56897 and three for 154.025). Below is how I solved this, ...
by TJ
23 Jun 2011
Forum: MultiCharts
Topic: How to write code for detecting every 25 points
Replies: 4
Views: 1078

Re: How to write code for detecting every 25 points

instead of using an indicator to plot the lines, you can set the label spacing on the chart: right click on chart, select Format Instrument under Scaling tab, check the box for " Set Labels Manually ". set the step size to 25. right click on chart, select Format Window... under Background tab, Check...

Go to advanced search