Search found 32 matches

by PeterSt
Sep 08 2024
Forum: MultiCharts
Topic: Auto trading in replay - positions don't reverse
Replies: 5
Views: 386

Re: Auto trading in replay - positions don't reverse

Should be as simple as sell short contract count x 2, rather than x 1.
It is as simple as Sell Short Contract count x 1. This will immediately Reverse.
I think it may depend on the Broker - with IBKR this is so. Without Broker, default MC behaves the same (not even sure this is settable).
by PeterSt
Aug 31 2024
Forum: MultiCharts .NET
Topic: Arranged values ​​in a line in the Output window
Replies: 5
Views: 2163

Re: Arranged values ​​in a line in the Output window

Quick response : If someone can tell me where a hook exists to the Output Window, we could (I could) change the font in there easy enough. But then we could also auto-format the output (interpret/parse the line, and apply some intelligence to it). Looks like a fun thing to do.
by PeterSt
Aug 31 2024
Forum: MultiCharts
Topic: how update file txt
Replies: 16
Views: 2782

Re: how update file txt

I see in File: 15/08/2024 900.00 5530.75000 5531.25000 1 0.00 15/08/2024 900.00 5530.75000 5531.25000 1 0.00 15/08/2024 900.00 5530.75000 5531.25000 1 0.00 15/08/2024 900.00 5530.75000 5531.25000 1 0.00 Why it's repeat 4 time? In pics there is the signal (1 signal for all day) Immagine.png The comm...
by PeterSt
Aug 29 2024
Forum: MultiCharts .NET
Topic: Arranged values ​​in a line in the Output window
Replies: 5
Views: 2163

Re: Arranged values ​​in a line in the Output window

The ASCII 9 value was only kidding and your mentioned 9 should be coincidence ? With a non-monospaced font (e.g. Arial) it would still be solvable by using the consumed length of a string (the function for that is not on the top of my head) (in a virtual column) and again pad with spaces (left or ri...
by PeterSt
Aug 28 2024
Forum: MultiCharts .NET
Topic: Arranged values ​​in a line in the Output window
Replies: 5
Views: 2163

Re: Arranged values ​​in a line in the Output window

Isn't 9 the ASCII value of TAB ?
lol

Otherwise, when we'd given the option of a monospaced font (like Courier), the problem would be solved relatively easy (pad your columns with spaces and all will stay aligned).
by PeterSt
Aug 25 2024
Forum: MultiCharts .NET
Topic: Integration of Rx.net into mutlicharts.
Replies: 9
Views: 3541

Re: Integration of Rx.net into mutlicharts.

Please note : I have asked for a Login to that Voting area (what, a month ago by now ?), but never heard back a thing. It would be a fifth time or so that I'd have to repeat my question to MC, while they "timely respond" as they say. I am fed up with this. ----------------- I sorted this o...
by PeterSt
Aug 22 2024
Forum: MultiCharts .NET
Topic: Keltner channel LE not working correctly?
Replies: 27
Views: 4708

Re: Keltner channel LE not working correctly?

The fact that MC herself does not respond in threads like these, really does not help. An extension to the anomalies I encounter myself regarding this, is skipping (hence apply a return) all the bars/calls which are beyond the current date and time. Pseudo code : if (Bars.DateTime < DateTimeOfInput)...
by PeterSt
Aug 16 2024
Forum: MultiCharts
Topic: API for IG Markets
Replies: 34
Views: 10675

Re: API for IG Markets

I'll try to add my 2c : I have Autotrading Systems running with IG for years and the largest hurdle I (and everyone) face is the "manipulation" IG applies to hedge their own portfolio. This means, for example - and it is only one example, that the minimum distance in points for a Limit or ...
by PeterSt
Aug 13 2024
Forum: MultiCharts .NET
Topic: Keltner channel LE not working correctly?
Replies: 27
Views: 4708

Re: Keltner channel LE not working correctly?

protected override void CalcBar() { // N.b.: The If below is slightly different than // in my previous post but will do too. // But now all the "preprocessing" backtest stuff // will not occur in Live. if (!Prod || Environment.IsRealTimeCalc) // !Prod = Backtesting. { // All of your code ...
by PeterSt
Aug 13 2024
Forum: MultiCharts .NET
Topic: Keltner channel LE not working correctly?
Replies: 27
Views: 4708

Re: Keltner channel LE not working correctly?

(very) Generally I would put all the code under the IsRealTimeCalc condition. So all would be done in Backtesting mode, or all would be in Live Trading mode. In other words, be careful that you are not assigning value to variables throughout the processing of the backtesting part, which may have an ...
by PeterSt
Aug 11 2024
Forum: MultiCharts .NET
Topic: Error list in visual studio 2022 V 17.10.X is not updated
Replies: 2
Views: 2551

Re: Error list in visual studio 2022 V 17.10.X is not updated

Well, I caused the Vote Count to be at 2 now, but I suppose everybody is bothered by it (or does not use 17.10.x). I learned to look in the list of the PLEditor itself, with always the annoying "Unreachable code" lines on top. Of course that won't help the proposed solutions in VS (but may...
by PeterSt
Aug 10 2024
Forum: MultiCharts
Topic: MultiCharts 15 Release 3
Replies: 9
Views: 3111

Re: MultiCharts 15 Release 3

Hi, The SA/AA and OPTIMIZE buttons will no longer be displayed in the Status Line if no signals are applied to the chart. I don't think this is a good idea; My MC still regularly kills the running Strategy because of an internal "unknown" error (2-3 times per day) and the first to notice i...
by PeterSt
Aug 10 2024
Forum: MultiCharts .NET
Topic: Keltner channel LE not working correctly?
Replies: 27
Views: 4708

Re: Keltner channel LE not working correctly?

Prior to finding the reference to my own thread (Rogue trades) I already thought to respond. So regarding the subject in this thread here (Keltner channel etc.) I hope to contribute with this : The activation of Autotrading goes in a way which is (for me) weird, to say the least. First thing what ha...
by PeterSt
Aug 07 2024
Forum: MultiCharts
Topic: Annoying popup
Replies: 2
Views: 1888

Re: Annoying popup - Wiki death

Well, at least you can get MC for free, despite you have the payed version already. :-) Yea, I think we all have this (?). My mouse can find the cross (away) blindly by now (you saw the cross, in the top-right corner of it, right ?). Could be related to cookies. Mine are auto-rejected and possibly h...
by PeterSt
Aug 07 2024
Forum: MultiCharts
Topic: Missing data2 error
Replies: 9
Views: 3060

Re: Missing data2 error

Did you sort out whether (regular) MC evaluates from left to right ? ... this is regarding your last post. It may not be relevant. For your original post, I'd say this looks like a parser error (PowerLanguage would be a by MC home-made interpreter which under the hood will translate to some real pro...
by PeterSt
Aug 05 2024
Forum: MultiCharts .NET
Topic: Integration of Rx.net into mutlicharts.
Replies: 9
Views: 3541

Re: Integration of Rx.net into mutlicharts.

Thinking this over (requires more research from my side as well), but before responding more ...
In the last paragraph you mentioned MS twice, what you could have meant. Or was it MC ? this would fit slightly better. :-)

Thanks !
by PeterSt
Aug 04 2024
Forum: MultiCharts .NET
Topic: Integration of Rx.net into mutlicharts.
Replies: 9
Views: 3541

Re: Integration of Rx.net into mutlicharts.

Really, the last thing I would do is debunk the software or the helpful people supporting it (say those in the Chats). It seems that we must approach all as a fait accompli, but this seems no good solution/approach in the long run. Understanding what happens under the hood is something to graduate u...
by PeterSt
Aug 04 2024
Forum: MultiCharts
Topic: how to get price at broker?
Replies: 4
Views: 2088

Re: how to get price at broker?

I want to print these at the end of the session I think I understand, but still this is a bit vague to me. I think that your "problem" merely is to print them at all, which is a matter of doing it the correct way; I am not of the type who asks "why do you want to use AA in the first ...
by PeterSt
Aug 04 2024
Forum: MultiCharts
Topic: Attention Interactive Brokers Users! [SOLVED]
Replies: 19
Views: 5587

Re: Attention Interactive Brokers Users! [SOLVED]

With TWS Workstation continuous futures are still not working with IB!! Is this subject even understood at MC ?? I start to notice that this subject is avoided, but may not know about explicit threads about this. I myself have more than extensively sent reports (FeedBacks) about this, and received ...
by PeterSt
Aug 04 2024
Forum: MultiCharts .NET
Topic: Integration of Rx.net into mutlicharts.
Replies: 9
Views: 3541

Re: Integration of Rx.net into mutlicharts.

Disclaimer : Not familiar with Rx at all, but I like the concept. That said : I think it will at least minimize many of the performance problems I'm afraid it will make it worse (but please keep in mind the disclaimer). I mean, Rx seems to take out heavy lifting tasks from us, the programmer, hence ...
by PeterSt
Aug 04 2024
Forum: MultiCharts
Topic: how to get price at broker?
Replies: 4
Views: 2088

Re: how to get price at broker?

I think you are too fast with obtaining the price from the Broker; you should or synchronize first, or wait for x milliseconds until the order has been processed by the broker and all. Querying MarketPositionAtBroker also does wonders. Thus if that is still 0 then there is no Price yet either. Regar...
by PeterSt
Jul 22 2024
Forum: MultiCharts
Topic: Optimized logging which significantly reduced the amount of logs ? [SOLVED]
Replies: 1
Views: 2539

Re: Optimized logging which significantly reduced the amount of logs ? [SOLVED]

Never mind - The logging is now held elsewhere (under a main directory which the MC version number in it).
by PeterSt
Jul 21 2024
Forum: MultiCharts
Topic: Is there anyone who got ChangeMarketPostion running ?
Replies: 2
Views: 1542

Re: Is there anyone who got ChangeMarketPostion running ?

The answer to your question : simple, be able to trade with tick data without everything collapsing in a few minutes; As I tried to point out : we can't expect that all runs smoothly if we'd ask the Broker status at each tick (which could be 10000 per second at e.g. News times, but which normally al...
by PeterSt
Jul 20 2024
Forum: MultiCharts
Topic: Is there anyone who got ChangeMarketPostion running ?
Replies: 2
Views: 1542

Is there anyone who got ChangeMarketPostion running ?

image_2024-07-20_115235250.png I know, this is .Net code, but the .Net board seems a bit dead to me, so posting it here ... The command you see is the command which makes the Strategy Position and Average Price equal to the Position and Average price at the Broker. Well, that is the intention of it...
by PeterSt
Jul 19 2024
Forum: MultiCharts
Topic: a favorites function in the forum
Replies: 2
Views: 1619

Re: a favorites function in the forum

I find the forum really confusing at times, and matching similar posts would also be great. So it's rarely of interest to have bugs that have been fixed afterwards in the forum, whereas general guides are always needed. Personally I think that in more than 50% of cases forum topics are useless beca...
by PeterSt
Jul 19 2024
Forum: MultiCharts
Topic: Optimized logging which significantly reduced the amount of logs ? [SOLVED]
Replies: 1
Views: 2539

Optimized logging which significantly reduced the amount of logs ? [SOLVED]

It looks like nobody is monitoring the .Net board. So I'll redundantly put the same question here : This is one of the features as described in the What's New page for 15 R2. Optimized logging which significantly reduced the amount of logs Yes, this definitely is optimized because there's now no log...
by PeterSt
Jul 19 2024
Forum: MultiCharts .NET
Topic: Optimized logging which significantly reduced the amount of logs ? [SOLVED]
Replies: 1
Views: 5235

Optimized logging which significantly reduced the amount of logs ? [SOLVED]

This is one of the features as described in the What's New page for 15 R2. Optimized logging which significantly reduced the amount of logs Yes, this definitely is optimized because there's now no logging active whatsoever that I can find. Also not after switching on specific items in ExtendedLoggin...
by PeterSt
Jun 29 2024
Forum: MultiCharts .NET
Topic: Rogue trades ? How to start AutoTrading !
Replies: 13
Views: 4791

Re: Rogue trades ? How to start AutoTrading !

protected override void CalcBar() { // indicator logic if (Environment.IsRealTimeCalc) // 27-06-2024,PS. { [...] } } This is indeed what helps against the waiting of "rogue" trades, which as we know are just backtested trades without me backtesting; it just happens like that when we activ...
by PeterSt
Jun 27 2024
Forum: MultiCharts .NET
Topic: Rogue trades ? How to start AutoTrading !
Replies: 13
Views: 4791

Re: Rogue trades ? How to start AutoTrading !

If you don't like long posts - please just skip. Great stuff. Thank you very much for that. I hate GitHub anyway (it barely can do what we made ourselves for the same purpose), so that can't be a problem. The PC's/Servers etc. set up is something I am working on right now. Not sure yet how bad it is...
by PeterSt
Jun 26 2024
Forum: MultiCharts .NET
Topic: Rogue trades ? How to start AutoTrading !
Replies: 13
Views: 4791

Re: Rogue trades ? How to start AutoTrading !

Thanks a lot for your insights. I think it gives me sufficient ideas to work out; It is my idea to go the following route : Have an input parameter that says "Live or Backtest". Then right prior to Live, I set that parameter to Live and close the "Format" form. That will force a ...
by PeterSt
Jun 26 2024
Forum: MultiCharts .NET
Topic: Rogue trades ? How to start AutoTrading !
Replies: 13
Views: 4791

Re: Rogue trades ? How to start AutoTrading !

I understand what you're heading for, but I can not imagine anything my StartCalc (or Constructor or anything) could do to clear any old running code (that's what it comes down to, I think ?). Maybe some emphasis to AA mode : Opposed to SA mode, AA mode lets MC operate Asynchronously from the Broker...
by PeterSt
Jun 26 2024
Forum: MultiCharts .NET
Topic: Rogue trades ? How to start AutoTrading !
Replies: 13
Views: 4791

Rogue trades ? How to start AutoTrading !

Dear Team, Dear all, (first post, so be gentle with me somewhat :D ) I must be doing something wrong, or possibly there's a bug somewhere, but ... look : MC0094e.png What I try to picture here is the trade you see in the left which is without Broker part of it, and the others which do bear their bro...