Search found 31 matches

by raven
30 Dec 2011
Forum: MultiCharts
Topic: Are bracket orders submitted to the exchange [SOLVED]
Replies: 4
Views: 2207

Re: Are bracket orders submitted to the exchange [SOLVED]

Thank you, but unfortunately this does not work (orders stay BLUE).

(I checked this out with IB's test account but those should behave like real accounts.)

Any other idea? Thanks again.
by raven
29 Dec 2011
Forum: MultiCharts
Topic: Are bracket orders submitted to the exchange [SOLVED]
Replies: 4
Views: 2207

Re: Are bracket orders submitted to the exchange [SOLVED]

Hi, I am experiencing the same problem (bracket orders BLUE instead of GREEN) with the following signal code (as an example) for a bracket order (MC 7.4 Build 4906; IB TWS 921.5): buy 1 contract next bar open - 10 points limit ; sellshort 1 contract next bar open + 10 points limit ; Checking the sug...
by raven
21 Jul 2011
Forum: MultiCharts
Topic: Serious issue with MC 7.0 - IB Advisor Accounts do not work
Replies: 19
Views: 4492

Re: Serious issue with MC 7.0 - IB Advisor Accounts do not w

Dave, thank you. You wrote: This is rather a TWS issue as this behavior depends on IB TWS. Unfortunately, we cannot affect TWS behavior directly. How could remote support help to solve "TWS"-issues? Thanks to TIKITRADER. Please allow a question: Does your MC 7.0 connect to at least 2 different advis...
by raven
20 Jul 2011
Forum: MultiCharts
Topic: Serious issue with MC 7.0 - IB Advisor Accounts do not work
Replies: 19
Views: 4492

Re: Serious issue with MC 7.0 - IB Advisor Accounts do not w

This toggling isn’t just annoying but you even can’t catch the numbers in TWS „Account“-window anymore as they toggle also. This means you loose information about account values, margin, liquidity ... As long as this issue isn’t solved properly you can not trade advisor accounts (besides this in my ...
by raven
19 Jul 2011
Forum: MultiCharts
Topic: Serious issue with MC 7.0 - IB Advisor Accounts do not work
Replies: 19
Views: 4492

Serious issue with MC 7.0 - IB Advisor Accounts do not work

MC 7.0 (build 4510) does not adress IBs advisor accounts. It works with my single test account BUT NOT with real advisor accounts (IB TWS build 918-8). This may be a bug as in TWS there is a small scroll down window in the upper left corner that shows what advisor account you are currently looking a...
by raven
14 Jan 2011
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Re: Catch Close at certain time if IOG true

Mike, thank you again for your detailed response. As you wrote you run your code on a one tick chart. To compare the same things please run it on a 24H chart as I do (please find my notice above). Tick chart until now was not suitable for me as my code did not work with it. Why are you using tick ch...
by raven
13 Jan 2011
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Re: Catch Close at certain time if IOG true

Mike,
thank you for your quick answer.

Did you papertrade this code? I did and after opening a position the code tries to exit the position immediately with a stop order and a stop limit of 0.00 again and again. Any further ideas?
by raven
13 Jan 2011
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Re: Catch Close at certain time if IOG true

//data1 and data2 in 24H format; both charts use same local time from 08:00 to 22:00 [IntrabarOrderGeneration = True]; Inputs: Exit_Time_s(200000) ; var: hold_close(0) ; //piranhaxp' suggestion if date <> date[1] and time_s < Exit_Time_s then begin hold_close = 0 ; end ; if time_s[1] < Exit_Time_s ...
by raven
12 Jan 2011
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Re: Catch Close at certain time if IOG true

piranhaxp, thank you.

I checked your suggestion but unfortunately hold_close(0) stays 0 and never changes (logfile). Even if it would be change to a value different from 0 it would be reset to initial 0 by the next tick as IOG = true.
by raven
10 Jan 2011
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Re: Catch Close at certain time if IOG true

TJ, thank you again. Unfortunately - after serious examiniation - your last suggestion also did not work. The reason for this is the same I mentioned before: with IOG = true all vars are reset to their initial value tick by tick. So you may assign the latest close price to the variable Exit_Price bu...
by raven
04 Jan 2011
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Re: Catch Close at certain time if IOG true

Thank you for your effort to understand. Hope the following makes it clear: Want to exit at the last traded price that is noticed at exactly 200000 (8 p.m.). This price is the closing price of a tick (IOG = true) that closed at or some time before 200000: If there is no tick closing at 200000 the wa...
by raven
03 Jan 2011
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Re: Catch Close at certain time if IOG true

Thanks for your reply but unfortunately your suggested code led to crashes of MC (maybe forced by a loop within the code) - saw this never before. Nevertheless this code would keep my problem of changing the value of Exit_Price on every new tick. This is what I meant with "until a new tick occurs". ...
by raven
30 Dec 2010
Forum: User Contributed Studies and Indicator Library
Topic: Catch Close at certain time if IOG true
Replies: 18
Views: 6591

Catch Close at certain time if IOG true

How to catch and hold a price at a certain time if IOG is true? The following code holds Exit_Price = 0 if no tick closes exactly at 200000. If a tick occurs – by accident – at 200000 Exit_Price holds the close of that tick until a new tick occurs. Exit_Price is then reset to 0. [IntrabarOrderGenera...
by raven
13 Aug 2010
Forum: MultiCharts
Topic: Cancel order if condition is not met any longer
Replies: 1
Views: 956

Cancel order if condition is not met any longer

An order is placed (tick chart) but not filled and some time later a condition isn’t met any longer – how to cancel this order? Simplified Example (tick chart): var: counter(0) ; condition1 = ... ; if condition1 then counter = 1 ; condition2 = counter = 0 ; if condition2 then buy 1 contract next bar...
by raven
04 Aug 2010
Forum: MultiCharts
Topic: BAR TIMER?
Replies: 3
Views: 1524

Re: BAR TIMER?

... look at the current price (pricescale) at the edge of your screen.
by raven
26 Jul 2010
Forum: MultiCharts
Topic: Breakeven - order queue
Replies: 9
Views: 2740

[Even with the above MC settings, the limit order will be held and monitored by TWS only, it will be sent to the exchange as a standard limit order only when the price has hit the limit price. ] Unfortunately I still can't see how to transmit a limit (target) order immediately when getting my entry ...
by raven
24 Jul 2010
Forum: MultiCharts
Topic: Breakeven - order queue
Replies: 9
Views: 2740

... has anybody experienced the same problem or knows how to solve it?

Many thanks!
by raven
16 Jul 2010
Forum: MultiCharts
Topic: Todays Open Price
Replies: 5
Views: 1676

Dear Dave, If you use this code (I checked it again and it stays true): buy 1 contract next bar at opend(0) – 20 points limit ; on a minute chart before session starts you will have to wait until the second bar occurs until your trade is submitted (at the open price of the first bar, not the second)...
by raven
16 Jul 2010
Forum: MultiCharts
Topic: Breakeven - order queue
Replies: 9
Views: 2740

Breakeven - order queue

When using function "setbreakeven()" not only stop orders are replaced when breakeven price is reached but limit orders (in general: target orders) are replaced also. That means your place in the order queue of the exchange (for your target price) is gone and your order has to line up again and chan...
by raven
16 Jul 2010
Forum: MultiCharts
Topic: Todays Open Price
Replies: 5
Views: 1676

Dear Dave, thank you - you are right, but my experience was: Todays open is delivered by opend(0) not until the second intraday bar of today occurs. So you can’t trade the open of the first bar (e.g. minute) of a new session referencing this open with a limit order e.g. You have to wait until the se...
by raven
14 Jul 2010
Forum: MultiCharts
Topic: Todays Open Price
Replies: 5
Views: 1676

Todays Open Price

I want to refer to the today’s open price. How to manage it to get and hold the open of the first bar of a trading session as a usable constant for further usage even if new intraday (=“intrasession“) bars occur? All other than daily bars will replace the open price every new bar. Example: Trading s...
by raven
01 Mar 2010
Forum: User Contributed Studies and Indicator Library
Topic: Aroon Oscillator
Replies: 4
Views: 5088

I am also interested in the Aroon but unfortunately didn't find in in the net. Had anybody more luck?
by raven
12 Jan 2010
Forum: MultiCharts
Topic: Port / Auto Trading
Replies: 0
Views: 856

Port / Auto Trading

Auto Trading signals worked fine with IB simulation account. In Strategy Properties / Auto Trading / Broker Settings I set "Port" 7497 - just to be sure not to interfere with my "real" account (Port 7496). When trying to trade the signals on my real account I set the port number to 7496. What happen...
by raven
12 Nov 2009
Forum: User Contributed Studies and Indicator Library
Topic: only 1 entry per day
Replies: 5
Views: 3756

Special thanks to steven for the code. Here is my way (and it works):

variable: counter(0);

condition1 = marketposition <> 0;
if condition1 then counter = counter + 1;
if time this bar = 1000 then counter = 0;

"time this bar" is the time when I want to reset the counter.
by raven
12 Nov 2009
Forum: User Contributed Studies and Indicator Library
Topic: only 1 entry per day
Replies: 5
Views: 3756

That's a good idea, but to use it on a chart with more than one day with 5 minute bars (as described above) I would have to reset the counter at the end of each day. Otherwise trading would stop after the first trade for all following days. This is a matter especially when backtesting. Thanks for an...
by raven
12 Nov 2009
Forum: User Contributed Studies and Indicator Library
Topic: only 1 entry per day
Replies: 5
Views: 3756

only 1 entry per day

When trading on 5 minute bars on a multi-day chart (=day after day is charted on a 5 minute base), how to manage it that only 1 entry per day is made if condition for entry is met? (Problem: conditions are met several times a day but only the first match should be traded.) Does anybody know? Many th...
by raven
10 Nov 2009
Forum: User Contributed Studies and Indicator Library
Topic: Backtest with specific entry time
Replies: 4
Views: 3232

Thank you, but didn't produce any entries. Reason might be that the entry related data1 can't use information about timestamps of data2 if - as I described above - data1 timeframe for a bar is greater then that of data2. Conversely it works (without your hint but completing the code a little bit): c...
by raven
09 Nov 2009
Forum: User Contributed Studies and Indicator Library
Topic: Backtest with specific entry time
Replies: 4
Views: 3232

data2

Tried to reference data2 with functions like "barstatus", "entrytime", "lastcalcmmtime" or "sess1firstbartime". data1 is 1 day bar, data 2 is 3 hour bar, session time is 08.00 a.m. to 6 p.m. Whenever adding one of these functions to the code it's always the same: either no entries at all or entries ...
by raven
09 Nov 2009
Forum: User Contributed Studies and Indicator Library
Topic: Backtest with specific entry time
Replies: 4
Views: 3232

Backtest with specific entry time

I would like to backtest an intraday system that allows no entries no later then 11 a.m. The trigger signals are based on 1 day charts. Intrabar order generation as solution doesn't work. Meanwhile I tried to utilize a second data stream (data2) but with no success. Does anybody know how to proceed?...
by raven
09 Nov 2009
Forum: MultiCharts
Topic: Collecting RT data as historical data on disk
Replies: 3
Views: 1568

Questions left

Thank you, but unfortunately I'm still looking for answers for my other questions.
by raven
28 Oct 2009
Forum: MultiCharts
Topic: Collecting RT data as historical data on disk
Replies: 3
Views: 1568

Collecting RT data as historical data on disk

I understand how to store RT-data for certain symbols in QuoteManager. But: How to store the full data history provided by IB (e.g.) on disk (as I can load it into charts)? When shutting down MC and QuoteManager one day, how to manage that new data when reopening MC and QM and connecting them to IB ...

Go to advanced search