Search found 13 matches

by qweasz
30 Oct 2013
Forum: MultiCharts
Topic: cc1plus.exe stops working [SOLVED]
Replies: 19
Views: 8731

Re: cc1plus.exe stops working [SOLVED]

qweasz, please uninstall MultiCharts and install it again. You can keep the user data, no need to delete it. The point is to perform uninstall/install of the application instead of repair/update. Let me know how it goes. I reinstalled yesterday following your instructions. No problems so far. In th...
by qweasz
28 Oct 2013
Forum: MultiCharts
Topic: cc1plus.exe stops working [SOLVED]
Replies: 19
Views: 8731

Re: cc1plus.exe stops working [SOLVED]

Thank you Henry. I have Vista Utimate SP2 fully updated. The compiler error log shows: "internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:171: MapViewOfFileEx: Attempt to access invalid address." I have been working on this over the weekend and now I can compile for a while...
by qweasz
24 Oct 2013
Forum: MultiCharts
Topic: cc1plus.exe stops working [SOLVED]
Replies: 19
Views: 8731

Re: cc1plus.exe stops working [SOLVED]

What has changed in your system setup?
Have you installed any new applications? Were any system updates installed today?
No changes in the system today, besides upgrading from 8.5 to 8.7 to overcome the problem.
by qweasz
24 Oct 2013
Forum: MultiCharts
Topic: cc1plus.exe stops working [SOLVED]
Replies: 19
Views: 8731

Re: cc1plus.exe stops working [SOLVED]

Same problem here.

After recurrent problems with cc1plus.exe I upgraded from MC 8.5 to MC 8.7 today.
I have been compiling without issues all day until now. Then the message starts again.

I am running Windows Vista Ultimate and I am using the Fast Compilation option.
by qweasz
16 Sep 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Re: Multi Entries/Exits Strategies

To further document this thread: To count the number of positions you better use a code like numberOfPositions=1; while EntryPrice(numberOfPositions) <> 0 begin numberOfPositions = numberOfPositions + 1; end; Sentence "numberOfPositions=1;" is important because EntryPrice(0) is equal to 0 in the cas...
by qweasz
15 Sep 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Re: Multi Entries/Exits Strategies

Great job Josh !!! I managed to get an "STD exception free" signal by carefully handling the parameter ranges as you did, wich is tricky. This PosTrade functions are very unforgiving. No problem if you have other functions such as EntryPrice(100000) in your code (very out of range), but you can not ...
by qweasz
15 Sep 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Re: Multi Entries/Exits Strategies

Josh, I am working on your code. Your code sais: // Get number of positions for tradeNumber = TotalTrades DownTo 1 begin if EntryPrice(tradeNumber) > 0 then // Don't ask me why, but this filters out the multiple scale-ins numberOfPositions = numberOfPositions + 1; end; I think EntryPrice is used wit...
by qweasz
15 Sep 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Re: Multi Entries/Exits Strategies

Don't know if this means anything, but just wanted to let you know Qweasz that, with this code, I also have the same error.
Thank you very much Josh for taking the time to test the code. Now I know the problem is not a faulty installation on my part.

Regards
by qweasz
14 Sep 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Re: Multi Entries/Exits Strategies

Thank you TJ.
This was just a silly example. I never use "buy this bar on close" in real time, but I did not know that it was deprecated as it is documented in PowerLanguage.

Changing the sentence for

Code: Select all

if currentbar=100 then buy next bar at market;
will get the same runtime error.
by qweasz
14 Sep 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

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 ba...
by qweasz
30 Aug 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Re: Multi Entries/Exits Strategies

Thankyou Dave, PosTradeCount works great. But there is something wrong with some PosTradeEntry keywords: they compile ok but produce runtime errors (STD exception : invalid argument). I have used PosTradeEntryBar and PosTradeEntryPrice with very simple arguments to single out the problem and the res...
by qweasz
29 Aug 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Re: Multi Entries/Exits Strategies

Thankyou very much, Dave!! All these PosTrade keywords are every thing I need and more.
They are not documented in my Powerlanguage editor (MC7); where can I get latest documentation?
by qweasz
29 Aug 2011
Forum: MultiCharts
Topic: Multi Entries/Exits Strategies
Replies: 20
Views: 7637

Multi Entries/Exits Strategies

Most of my Strategies use several Entries/Exits in the same direction, and I always get stuck at the same point when programming. I manage to assign different tags to each Entry every time the variable currententries changes; the problem is currententries seems to just keep track of the Open entries...

Go to advanced search