Search found 6 matches

by Kennedy
14 Aug 2012
Forum: MultiCharts
Topic: Help to check the global variable code [SOLVED]
Replies: 13
Views: 3473

Re: Help to check the global variable code [SOLVED]

GV is a real time tool. It is not designed for backtest.
.........O,my....
Can ADE do it in portfofio backtest?
by Kennedy
14 Aug 2012
Forum: MultiCharts
Topic: Help to check the global variable code [SOLVED]
Replies: 13
Views: 3473

Re: Help to check the global variable code [SOLVED]


are you looking at the chart in real time during the market hour?
or a chart off line?
I set GV in portfolio backtesting.
Does it work in backtesing?
by Kennedy
14 Aug 2012
Forum: MultiCharts
Topic: Help to check the global variable code [SOLVED]
Replies: 13
Views: 3473

Re: Help to check the global variable code [SOLVED]


What do you mean by "every value in my variable"?

Have you read the manual?
I want it can be interactive.
In Instrument A I got a line,but in Instrument B just a line with only one value.
Is that correct result?
by Kennedy
13 Aug 2012
Forum: MultiCharts
Topic: Help to check the global variable code [SOLVED]
Replies: 13
Views: 3473

Re: Help to check the global variable code [SOLVED]

ye,I will try this. Thank you. I can get one value through GV. How it pass every value in my variable? Here is my code: Insturment A: variables: GV_1 ( 0 ), CA( 0 ) ; CA = CLOSE ; GV_1 = GVSetNamedInt("test", CA ) ; plot1( CA, "CLOSE OF A"); Instrument B: variables: GV_1 ( 0 ) ; GV_1 = GVGetNamedInt...
by Kennedy
13 Aug 2012
Forum: MultiCharts
Topic: Help to check the global variable code [SOLVED]
Replies: 13
Views: 3473

Re: Help to check the global variable code [SOLVED]

Thanks all. Help me check this out. In Instrument A : variables: GV_1 ( 0 ); GV_1 = GVSetNamedInt("test", 1 ) ; plot1( StdDev(close,20), "testa"); In Insturment B : variables: GV_1 ( 0 ), test1( 0 ), test2( 0 ) ; GV_1 = GVGetNamedInt("test", -999 ) ; if GV_1 = 1 then begin test1 = close of data1 ; t...
by Kennedy
11 Aug 2012
Forum: MultiCharts
Topic: Help to check the global variable code [SOLVED]
Replies: 13
Views: 3473

Help to check the global variable code [SOLVED]

In Instrument A(part of codes): Num_GV_1 = GVSetInteger(1,1) ; Num_GV_2 = GVSetInteger(2,1) ; Num_GV_3 = GVSetInteger(3,1) ; Num_GV_4 = GVSetInteger(4,1) ; Num_GV_Shares = GVSetNamedFloat(" SHARES OF INSTRUMENT B", Num_Shares_B ) ; In Instrument B: Num_GV_1 = GVGetInteger(1) ; Num_GV_2 = GVGetIntege...

Go to advanced search