Search found 26 matches

by MeiHua
13 Jan 2015
Forum: MultiCharts .NET
Topic: Time of Day Entry and Exits .NET
Replies: 1
Views: 1259

Time of Day Entry and Exits .NET

I am looking a way limit entries between a certain time say 0300 - 1200, or exit if it is a certain time 1600. I have tried to use DateTime objects however they are specific to a certain day so you cant just create a general 0300 time. Advice/tips?
by MeiHua
11 Jan 2015
Forum: MultiCharts .NET
Topic: Way to print/output to file using .NET?
Replies: 2
Views: 2053

Way to print/output to file using .NET?

I was wondering if there was a way to output to a file like you can in the powerlanguage version of PRINT. The output methods seem to only be able to print to the console. Is there a way for me to save to an ASCII or txt file instead?
by MeiHua
19 Mar 2013
Forum: MultiCharts
Topic: Inconsistent results in backtesting. After shifting paramete
Replies: 3
Views: 2004

Inconsistent results in backtesting. After shifting paramete

I was changing parameters, then i reset them to the original default. Now I am getting totally different results. I have missing trades and just different trades in general. Anyone else having inconsistent results? I have the most up to date version of multicharts, updated it yesterday.
by MeiHua
17 Mar 2013
Forum: MultiCharts
Topic: Replicating Walk Forward Optimization in Signal. Different
Replies: 1
Views: 1195

Replicating Walk Forward Optimization in Signal. Different

I have been doing walk foward optimization on my signal strategy. I have tried to sew together the out of sample periods, and their parameters to create 1 equity curve analysis that can be done on the chart. I am using YM back point adjusted. Everything compiled correctly, however the trades are not...
by MeiHua
15 Mar 2013
Forum: User Contributed Studies and Indicator Library
Topic: Optimization By linear Equity Curve
Replies: 14
Views: 13938

Re: Optimization By linear Equity Curve

Thanks for the code.

Are we optimizing by ascending or descending?
by MeiHua
01 Dec 2012
Forum: MultiCharts
Topic: Inside Bid, Inside ask volume
Replies: 4
Views: 1921

Re: Inside Bid, Inside ask volume

I just want to get the value, then export it to a text file, basically i want to record the inside bid, inside bid volume, inside ask, and inside ask volume.
by MeiHua
01 Dec 2012
Forum: MultiCharts
Topic: Inside Bid, Inside ask volume
Replies: 4
Views: 1921

Inside Bid, Inside ask volume

I am looking to reference the inside bid and inside ask volume. Is there anyway to do this?
by MeiHua
30 Nov 2012
Forum: MultiCharts
Topic: strategy stuck in calculating mode. Using 2 sets of data
Replies: 5
Views: 1785

Re: strategy stuck in calculating mode. Using 2 sets of data

Yes I have a custom futures contract, However if i use custom futures in data1, then it will never execute a real trade using the current contract. How can I get it to execute on YMZ12 but use the custom YM contract for calculation, I think i am in a catch 22.
by MeiHua
29 Nov 2012
Forum: MultiCharts
Topic: strategy stuck in calculating mode. Using 2 sets of data
Replies: 5
Views: 1785

Re: strategy stuck in calculating mode. Using 2 sets of data

I have it set to 200, however the 1st data set can NOT have 200 bars in it. Due to futures roll over. I need the calculations to be done on the 2nd data set and executed on the 1st data set which will in inherently have less than 200 bars of data. Is this possible?
by MeiHua
29 Nov 2012
Forum: MultiCharts
Topic: strategy stuck in calculating mode. Using 2 sets of data
Replies: 5
Views: 1785

strategy stuck in calculating mode. Using 2 sets of data

I am developing a trading strategy. I am using data2 for calculation and data1 for execution. However I have had problems, that are two fold. 1) The strategy doesn't execute on the data1 set if it doesn't have 200 or more periods ( i am using a 200 period MA on data2). 2) It now is suck calculating....
by MeiHua
04 Nov 2012
Forum: User Contributed Studies and Indicator Library
Topic: Time & Sales
Replies: 17
Views: 10640

Re: Time & Sales

I am also interested in repositioning the print column. Any help with that?
by MeiHua
01 Oct 2012
Forum: MultiCharts
Topic: [UPDATER] CQG Indexes [SOLVED]
Replies: 7
Views: 3145

Re: CQG Indexes (Updater Required) [SOLVED]

Agreed there, I mean i signed up for that data feed based on the multicharts post that it worked. Now i am out that money, its not much. But i believe they should have CONFIRMED action on both sides before saying its operational and posting sticky. They should have tested this, if AMP/CQG isnt worki...
by MeiHua
30 Sep 2012
Forum: MultiCharts
Topic: Lack of execution on data1 when using data2 for calculations
Replies: 9
Views: 1725

Re: Lack of execution on data1 when using data2 for calculat

I have tried every iteration of examples in the post#2 both inside and outside parentheses. and of data2 as well as declaring variables with ,data2. the reason you see the same "mistakes" is because i didn't keep the changes. if you would like to show me what changes you think would fix it i would b...
by MeiHua
30 Sep 2012
Forum: MultiCharts
Topic: Lack of execution on data1 when using data2 for calculations
Replies: 9
Views: 1725

Re: Lack of execution on data1 when using data2 for calculat

I have used the custom contract. Back adjusted for the YM, which i am trying to trade for this. This is fine. also when i just use 1 data stream it trades fine. The only problem is shifting from 1 data stream to 2 data streams in order to actually execute on the current front month contract. I just ...
by MeiHua
28 Sep 2012
Forum: MultiCharts
Topic: [UPDATER] CQG Indexes [SOLVED]
Replies: 7
Views: 3145

Re: CQG Indexes (Updater Required) [SOLVED]

I still haven't been able to get it to work, even with the updater. I have called AMP and they have contacted CQG. From the AMP tech support desk found that the updater and the CQG index data feed still do not work. I have been trying to get this to work for a few days, and have worked with Henry. S...
by MeiHua
26 Sep 2012
Forum: MultiCharts
Topic: [UPDATER] CQG Indexes [SOLVED]
Replies: 7
Views: 3145

Re: CQG Indexes [SOLVED]

I am trying to figure this out as well.
by MeiHua
26 Sep 2012
Forum: MultiCharts
Topic: Lack of execution on data1 when using data2 for calculations
Replies: 9
Views: 1725

Re: Lack of execution on data1 when using data2 for calculat

I have tried those techniques as outlined in the post you linked. I even referenced reading them in the first post. However the execution is still lacking. Can you please explain to me how to fix that problem. I understand that you can execute that way but the strategy wont even though all the calcu...
by MeiHua
25 Sep 2012
Forum: MultiCharts
Topic: Lack of execution on data1 when using data2 for calculations
Replies: 9
Views: 1725

Lack of execution on data1 when using data2 for calculations

I have created a strategy that uses daily bars. however contracts do not last 200 days so i needed to use data2 to do those calculations however because the current contract does not have 200 days it wont put in an order. I dont understand why not it should execute on data1 (the current contract) an...
by MeiHua
29 Aug 2012
Forum: MultiCharts
Topic: Daily Chart Signal intraday generation.
Replies: 8
Views: 2202

Re: Daily Chart Signal intraday generation.

if date>=1090624 and date<=1090627 then begin print("b#= ",barnumber," d= ", date, " t= ",time," RSI_Sum = ", RSI_Sum, " < BuyLevel = ", BuyLevel , " and c = ", c," > ma200 =", MA200 ); If ( RSI_Sum < BuyLevel ) And ( Close > MA200 ) Then print("-----------------------------------------------------...
by MeiHua
23 Aug 2012
Forum: MultiCharts
Topic: Daily Chart Signal intraday generation.
Replies: 8
Views: 2202

Re: Daily Chart Signal intraday generation.

Here is the exported files. this forum is hard to use
by MeiHua
23 Aug 2012
Forum: MultiCharts
Topic: Daily Chart Signal intraday generation.
Replies: 8
Views: 2202

Re: Daily Chart Signal intraday generation.

No idea how to add multiple attachements sorry
by MeiHua
23 Aug 2012
Forum: MultiCharts
Topic: Daily Chart Signal intraday generation.
Replies: 8
Views: 2202

Re: Daily Chart Signal intraday generation.

Hello MeiHua, In order to investigate this case please provide additional information: 1) What exact version and build number of MultiCharts are you running? (in MultiCharts go to Help tab-> About) 2) the workspace you are using 3) send us the study export file in Power Language editor->File->Expor...
by MeiHua
22 Aug 2012
Forum: MultiCharts
Topic: Daily Chart Signal intraday generation.
Replies: 8
Views: 2202

Daily Chart Signal intraday generation.

I have been using daily charts to enter a trade using the enter on close feature. However I would like to enter them on the 5 minute chart instead to allow me to use more fine tuning. I have used data2 correctly however when comparing the daily vs the modified 5 minute entry i am coming up with disc...
by MeiHua
13 Aug 2012
Forum: MultiCharts
Topic: {exception} floating point invalid operation in simple indi [SOLVED]
Replies: 4
Views: 1489

Re: {exception} floating point invalid operation in simple i [SOLVED]

Sorry, another quick question. I am trying to get that to take the data from data 2. But i keep getting wrong results. I used a print and output debug already. I also tried to use the custom true range function as well. But i don't think its calculating correctly. Is there a way to use the averagetr...
by MeiHua
13 Aug 2012
Forum: MultiCharts
Topic: {exception} floating point invalid operation in simple indi [SOLVED]
Replies: 4
Views: 1489

Re: {exception} floating point invalid operation in simple i [SOLVED]

Thank you, I should have never believed it to be impossible. Very quick solution.
by MeiHua
13 Aug 2012
Forum: MultiCharts
Topic: {exception} floating point invalid operation in simple indi [SOLVED]
Replies: 4
Views: 1489

{exception} floating point invalid operation in simple indi [SOLVED]

I have had it plot fine before but now over longer data i cant understand why. Is there ever a time here where the average true range will be 0?? its the only divisor. I am using 5 min charts of YM for past 10 years if anyone can replicate. input: length ( 10 ); Vars: Ratio ( 0 ), TSI ( 0 ); Ratio =...

Go to advanced search