Hi,
I used CSI data to test a trading system in Portfolio Trader. However, I could not change the testing period end date to the day I wanted. It always shows the current day as the default end date and I was not allowed to change it.
Please help.
Thanks.
Search found 50 matches
- 10 Jan 2024
- Forum: MultiCharts
- Topic: CSI / Portfolio Trader Settings / data range setting
- Replies: 1
- Views: 162
- 18 Sep 2023
- Forum: MultiCharts
- Topic: Signal did not calculate all available price data
- Replies: 2
- Views: 317
Signal did not calculate all available price data
Hi, I'm testing a new intra-day trading signal. There is more than one years' price data. However, the signal only calculated less than half of the price data and generated system performance report on it. However, indicators could be calculated throughout all available data on the chart. Please hel...
- 28 Jun 2023
- Forum: MultiCharts
- Topic: Issue Stop Loss order right after new position opened
- Replies: 4
- Views: 522
Re: Issue Stop Loss order right after new position opened
Hi Polly,
Thanks. Just come back to continue the development.
I want to use these scripts but not sure if they will work as I need,
Stop$ = round( C * StopPercent , 2);
setstopcontract;
setstoploss( C - Stop$);
By the way, can I use "Entryprice" instead of "C" in above?
Thanks.
LMC1
Thanks. Just come back to continue the development.
I want to use these scripts but not sure if they will work as I need,
Stop$ = round( C * StopPercent , 2);
setstopcontract;
setstoploss( C - Stop$);
By the way, can I use "Entryprice" instead of "C" in above?
Thanks.
LMC1
- 05 Apr 2023
- Forum: MultiCharts
- Topic: Issue Stop Loss order right after new position opened
- Replies: 4
- Views: 522
Issue Stop Loss order right after new position opened
Hi,
I'm live testing a 15 minute bar trading strategy. I want to issue Stop Loss order right after a new position is opened, instead of pending until the beginning of the following bar.
Can anyone help? Thanks.
I'm live testing a 15 minute bar trading strategy. I want to issue Stop Loss order right after a new position is opened, instead of pending until the beginning of the following bar.
Can anyone help? Thanks.
- 24 Apr 2021
- Forum: MultiCharts
- Topic: Percent Rank coding
- Replies: 4
- Views: 939
Re: Percent Rank coding
Hi t,
Thanks for your kind help.
Have a nice week end.
Thanks for your kind help.
Have a nice week end.
- 24 Apr 2021
- Forum: MultiCharts
- Topic: Percent Rank coding
- Replies: 4
- Views: 939
Re: Percent Rank coding
Hi tpredictor,
Thanks for your prompt response.
The One-day return I am thinking is (C - C[1]) / C[1].
I want to know the Percent Rank of today's one-day return, when compare to all of the one-day return in the last 199 days.
Thanks
Thanks for your prompt response.
The One-day return I am thinking is (C - C[1]) / C[1].
I want to know the Percent Rank of today's one-day return, when compare to all of the one-day return in the last 199 days.
Thanks
- 24 Apr 2021
- Forum: MultiCharts
- Topic: Percent Rank coding
- Replies: 4
- Views: 939
Percent Rank coding
Hi, For a look back period of 200 days, I want to know the percent rank of current day's return from yesterday. I tried with these codes but don't know how to set the three inputs for the PercentRankArray function. Anyone can help please? Thanks. Array: intrabarpersist DailyReturn[199](0); Inputs: L...
- 06 Dec 2019
- Forum: MultiCharts
- Topic: Connect MC to multiple IB simulated accounts
- Replies: 1
- Views: 801
Connect MC to multiple IB simulated accounts
Hi, Recently I newly open an additional IB account, an account separate from the original one. Within the same workspace of auto-paper trading, I tried to connect chart A to IB simulated account A and another chart B to IB simulated account B. There is no problem with account A, the original one. Bu...
- 05 Jun 2018
- Forum: MultiCharts
- Topic: Trailing Stop Order rejected by IB / does not conform to the min price variation
- Replies: 1
- Views: 1353
Trailing Stop Order rejected by IB / does not conform to the min price variation
Hi, I am testing a stock trading system and met the captioned problem. I have checked that the concerned stock symbol is set up properly in Quote Manager. Please refer to the attached screenshots. And the Trailing Stop Log message is, "06 Jun, 11:08:00 1128-HKG set trailing stop of 213 points." Plea...
- 05 Jun 2018
- Forum: MultiCharts
- Topic: Portfolio Trader / discrepancy in P/L value [SOLVED]
- Replies: 2
- Views: 1262
Re: Portfolio Trader / discrepancy in P/L value [SOLVED]
Understood, thanks.
- 25 May 2018
- Forum: MultiCharts
- Topic: Portfolio Trader / discrepancy in P/L value [SOLVED]
- Replies: 2
- Views: 1262
Portfolio Trader / discrepancy in P/L value [SOLVED]
Attached is a screen shot. Discrepancy exists between the P/L values shown in "Portfolio Real-time Auto Trading" and "Order and Position Tracker" tabs. It is a Short position of 42 shares @1799.5 for EXPN. At the price of 1868, the position should have paper loss at 42 x (1868 - 1799.5) = 2877. So I...
- 15 May 2018
- Forum: MultiCharts
- Topic: Order and Position Tracker / Portfolio Trader [SOLVED]
- Replies: 2
- Views: 1137
Re: Order and Position Tracker / Portfolio Trader [SOLVED]
Thanks, the Order and Position Tracker is back again.
- 14 May 2018
- Forum: MultiCharts
- Topic: Order and Position Tracker / Portfolio Trader [SOLVED]
- Replies: 2
- Views: 1137
Order and Position Tracker / Portfolio Trader [SOLVED]
Hi, During a portfolio real-time auto trading session, I deleted the "Order and Position Tracker" accidentally. Next time when I loaded the same portfolio, the Order and Position Tracker is disappeared. I tried to click it under View pull down menu but was in vain. Please let me know how to bring it...
- 14 Dec 2017
- Forum: MultiCharts
- Topic: Portfolio Total Value / keyword for
- Replies: 5
- Views: 1386
Re: Portfolio Total Value / keyword for
I could not find a way to retrieve the value.
Thanks.
Thanks.
- 08 Dec 2017
- Forum: MultiCharts
- Topic: Portfolio Total Value / keyword for
- Replies: 5
- Views: 1386
Re: Portfolio Total Value / keyword for
can you suggest a way please ?
- 03 Dec 2017
- Forum: MultiCharts
- Topic: Portfolio Total Value / keyword for
- Replies: 5
- Views: 1386
Portfolio Total Value / keyword for
Hi, The keyword Portfolio_Equity includes the sum of (Initial Capital + Portfolio_NetProfit + Portfolio_OpenPositionProfit). However, I want to access the value of "Portfolio Total Value", ie, (Portfolio_Equity + Market Value of all current holdings). Similar to what the keyword " GetRTAccountNetWor...
- 20 Oct 2017
- Forum: MultiCharts
- Topic: PC config at $4000 [SOLVED]
- Replies: 4
- Views: 1635
Re: PC config at $4000 [SOLVED]
Thank you fbertram and TJ for your comments and information.
fbertram: I just signed up GCP's free trial and seems it is a good alternative since I don't need a mighty PC all the time. Thanks.
fbertram: I just signed up GCP's free trial and seems it is a good alternative since I don't need a mighty PC all the time. Thanks.
- 18 Oct 2017
- Forum: MultiCharts
- Topic: PC config at $4000 [SOLVED]
- Replies: 4
- Views: 1635
PC config at $4000 [SOLVED]
Hi,
I plan to buy a new PC to do portfolio back-testing, typically involve at least six hundred symbols, 5 years of 1 minute data.
Can anyone suggest a configuration with my budget of $4000, monitor excluded?
Thanks.
LMC1
I plan to buy a new PC to do portfolio back-testing, typically involve at least six hundred symbols, 5 years of 1 minute data.
Can anyone suggest a configuration with my budget of $4000, monitor excluded?
Thanks.
LMC1
- 18 Oct 2017
- Forum: MultiCharts
- Topic: How to set price scale to display 3 decimal places in chart [SOLVED]
- Replies: 2
- Views: 1440
- 12 Oct 2017
- Forum: MultiCharts
- Topic: How to set price scale to display 3 decimal places in chart [SOLVED]
- Replies: 2
- Views: 1440
How to set price scale to display 3 decimal places in chart [SOLVED]
Hi
Appreciate if anyone can help regarding the captioned. Thanks
LMC1
Appreciate if anyone can help regarding the captioned. Thanks
LMC1
- 26 Sep 2017
- Forum: MultiCharts
- Topic: Calculate the ADX of Data2 in Signal
- Replies: 2
- Views: 976
Calculate the ADX of Data2 in Signal
Hi, I want to do the captioned, so I modified the built-in ADX indicator codes and include them into my signal but Power Language editor returned error. inputs: Len( 14 ), DailyBarHigh(H of data2), DailyBarLow(L of data2),DailyBarClose(C of data2) ; variables: var0( 0 ), var1( 0 ), var2( 0 ), var3( ...
- 19 May 2017
- Forum: MultiCharts
- Topic: IntraBarOrderGeneration problem
- Replies: 2
- Views: 1020
Re: IntraBarOrderGeneration problem
Thanks for reminding to click 'Strategy Performance Report'. I had not even tried to click it because I saw there were no trades shown on chart. It did have back-test but the system went 'bankrupt' after some 10 trades, when there is a market data error with extreme Low. This Low was adopted by the ...
- 19 May 2017
- Forum: MultiCharts
- Topic: IntraBarOrderGeneration problem
- Replies: 2
- Views: 1020
IntraBarOrderGeneration problem
I am doing backtesting on a Daily Bar trading strategy. It went OK.
However, after I added [IntraBarOrderGeneration=true] at the beginning of my program and compiled ok. The chart with this strategy did not show any trades, just like there was no strategy inserted.
Anyone can help ? Thanks.
However, after I added [IntraBarOrderGeneration=true] at the beginning of my program and compiled ok. The chart with this strategy did not show any trades, just like there was no strategy inserted.
Anyone can help ? Thanks.
- 21 Mar 2017
- Forum: MultiCharts
- Topic: Closing Auction Session/ Hong Kong Stock Exchange / Market-on-Close and Limit-on-Close order types to IB [SOLVED]
- Replies: 4
- Views: 1766
Closing Auction Session/ Hong Kong Stock Exchange / Market-on-Close and Limit-on-Close order types to IB [SOLVED]
Hi, The regular trading session of Hong Kong Stocks Exchange ends at 4:00 p.m. Then between 4:00 p.m. and 4:10 p.m. is the Closing Auction Session. Market participants can place auction orders to buy or sell stocks from 4:00 p.m. . On random basis, the market will close at any time between 4:08 and ...
- 05 Mar 2017
- Forum: MultiCharts
- Topic: Portfolio Trader / Lot Size in Stock Trading
- Replies: 1
- Views: 1289
Portfolio Trader / Lot Size in Stock Trading
Hi guys, When I trade US Stocks, I can specify any number of shares to buy, such as 100, 23, or even 8. But for Hong Kong Stocks, they require a minimum trading units, ie, Lot Size. For example, the Lot Size of HSBC (0005-HKG/ 0005.HK) is 400 shares. So if you want to buy HSBC shares, you must buy m...
- 21 Feb 2017
- Forum: MultiCharts
- Topic: Scanner Window / Data2 [SOLVED]
- Replies: 4
- Views: 1631
Re: Scanner Window / Data2 [SOLVED]
Thanks guys, will try to learn but seems a bit complicated for me.
- 19 Feb 2017
- Forum: MultiCharts
- Topic: Scanner Window / Data2 [SOLVED]
- Replies: 4
- Views: 1631
Scanner Window / Data2 [SOLVED]
Hi,
I want to apply an indicator that requires data2 into a Scanner Window. But I could not insert data2 into the Scanner Window.
Any one can help please ?
LMC1
I want to apply an indicator that requires data2 into a Scanner Window. But I could not insert data2 into the Scanner Window.
Any one can help please ?
LMC1
- 04 Feb 2017
- Forum: MultiCharts
- Topic: SetStopLoss
- Replies: 1
- Views: 801
SetStopLoss
Hi,
I want to set stop loss at 5% of entry price and tried the following codes but did not work, all trade entries exited at the entry price.
vars: LossMax(0);
LossMax = EntryPrice * 0.05 * CurrentShares;
SetStopLoss(LossMax);
Please help. Thanks
LMC
I want to set stop loss at 5% of entry price and tried the following codes but did not work, all trade entries exited at the entry price.
vars: LossMax(0);
LossMax = EntryPrice * 0.05 * CurrentShares;
SetStopLoss(LossMax);
Please help. Thanks
LMC
- 02 Aug 2016
- Forum: MultiCharts
- Topic: Use StandardDev function in an indicator [SOLVED]
- Replies: 3
- Views: 1690
Re: Use StandardDev function in an indicator [SOLVED]
Thanks TJ for trying to help.
After I did a repair process for MC, the codes were compiled successfully.
Thanks again.
After I did a repair process for MC, the codes were compiled successfully.
Thanks again.
- 01 Aug 2016
- Forum: MultiCharts
- Topic: Use StandardDev function in an indicator [SOLVED]
- Replies: 3
- Views: 1690
Use StandardDev function in an indicator [SOLVED]
Hi,
The following simple codes could not be compiled. Can anyone help please ?
QUOTE
inputs: Length(14);
vars: VolatilitySD(0);
VolatilitySD = StandardDev(C,Length,1);
plot1(VolatilitySD,"Volatility");
UNQUOTE
Thanks.
The following simple codes could not be compiled. Can anyone help please ?
QUOTE
inputs: Length(14);
vars: VolatilitySD(0);
VolatilitySD = StandardDev(C,Length,1);
plot1(VolatilitySD,"Volatility");
UNQUOTE
Thanks.
- 23 Jul 2015
- Forum: MultiCharts
- Topic: Paper Trader in Playback mode [SOLVED]
- Replies: 2
- Views: 2016
Re: Paper Trader in Playback mode [SOLVED]
Thanks. But this is the most important feature for discretionary trading practice. One can practice on long history in very short time to gain rich experience. Under many situations, one have no choice but turn to discretionary trading from auto-trading, based on a set of familiar indicators. Please...
- 23 Jul 2015
- Forum: MultiCharts
- Topic: Paper Trader in Playback mode [SOLVED]
- Replies: 2
- Views: 2016
Paper Trader in Playback mode [SOLVED]
Hi,
The new Paper Trader fucntion is just great ! Thanks MC teams for bringing it forward.
However, I want to do paper trading in playback mode, ie, on historical data instead of live data. How can I do it ? thanks.
LMC1
The new Paper Trader fucntion is just great ! Thanks MC teams for bringing it forward.
However, I want to do paper trading in playback mode, ie, on historical data instead of live data. How can I do it ? thanks.
LMC1
- 21 Jul 2015
- Forum: MultiCharts
- Topic: MRO/data2 [SOLVED]
- Replies: 3
- Views: 2117
Re: MRO/data2 [SOLVED]
Thanks TJ !
- 21 Jul 2015
- Forum: MultiCharts
- Topic: MRO/data2 [SOLVED]
- Replies: 3
- Views: 2117
- 08 Jun 2015
- Forum: MultiCharts
- Topic: Using the function 'nthMaxList'
- Replies: 1
- Views: 1492
Using the function 'nthMaxList'
Hi,
nthMaxList cannot handle a list of more than 24 elements.
When I set,
value1=nthMaxList(25, elements1, elements2.......elements25),
it will only store the value at 24th rank into value1 but not the 25th one.
Please fix it. Thanks.
nthMaxList cannot handle a list of more than 24 elements.
When I set,
value1=nthMaxList(25, elements1, elements2.......elements25),
it will only store the value at 24th rank into value1 but not the 25th one.
Please fix it. Thanks.
- 03 Jun 2015
- Forum: MultiCharts
- Topic: exporting data to Excel
- Replies: 1
- Views: 1252
exporting data to Excel
Hi,
There is a small problem when exporting data to Excel, data in the same line went into a single cell.
There is a small problem when exporting data to Excel, data in the same line went into a single cell.
- 03 Jun 2015
- Forum: MultiCharts
- Topic: Setpercenttrailing / update on every tick
- Replies: 1
- Views: 1383
Setpercenttrailing / update on every tick
Hi, I use 2 hour bar in one of my charts, so the stop exit level set by 'Setpercenttrailing' will become very 'outdated' when a two hour bar is complete. The price may have gone very high and back down substantially so the max give back amount is much more than what I prefer. On the other hand, I fo...
- 26 Apr 2014
- Forum: MultiCharts
- Topic: Close position at bar end / real time
- Replies: 2
- Views: 1055
Close position at bar end / real time
Hi,
In intra-day auto-trade, the 'default' action is to open and close a position at Open of next bar. Is it possible to close a position right before say e.g., the end of a 5 min bar ?
Thanks.
In intra-day auto-trade, the 'default' action is to open and close a position at Open of next bar. Is it possible to close a position right before say e.g., the end of a 5 min bar ?
Thanks.
- 14 Nov 2013
- Forum: MultiCharts
- Topic: How to delete data file of certain symbol ?
- Replies: 1
- Views: 879
How to delete data file of certain symbol ?
Hi,
For some unknown reasons, intra-day data of a symbol cannot be displayed in MC while the same set of data can be displayed in other software. So I suspect the MC data file crashed and want to delete and rebuild it afterwards.
Please advise me how to delete it. Thanks.
For some unknown reasons, intra-day data of a symbol cannot be displayed in MC while the same set of data can be displayed in other software. So I suspect the MC data file crashed and want to delete and rebuild it afterwards.
Please advise me how to delete it. Thanks.
- 29 Oct 2013
- Forum: MultiCharts
- Topic: Suggestion / Chart-based currency display
- Replies: 1
- Views: 924
Suggestion / Chart-based currency display
Hi, Now we set currency in File -> Preferences ->Trading. Once set, all chart tradings will display the same Currency, which is very inconvenient if one trades multiple instruments denominated in various currencies. Please consider to change it to chart-based currency setting, instead of a global se...
- 25 Oct 2013
- Forum: MultiCharts
- Topic: same active position displayed on 2 different charts [SOLVED]
- Replies: 6
- Views: 1928
Re: bugs ?/ same active position displayed on 2 different ch [SOLVED]
Hi Andrew,
Thanks.
You are right, Chart B's Chart Trading Panel was not set to connect to another profile, LMAX2.
Thanks.
You are right, Chart B's Chart Trading Panel was not set to connect to another profile, LMAX2.
- 25 Oct 2013
- Forum: MultiCharts
- Topic: same active position displayed on 2 different charts [SOLVED]
- Replies: 6
- Views: 1928
Re: bugs ?/ same active position displayed on 2 different ch [SOLVED]
Hi Henry, Please refer to the attached screen shots. In the first screen shot, you can see that the same active position and stop order is shown on both charts. But the active Long position is in fact belonging to Chart A on the left. You can easily tell that there is in fact a Short position in Cha...
- 23 Oct 2013
- Forum: MultiCharts
- Topic: same active position displayed on 2 different charts [SOLVED]
- Replies: 6
- Views: 1928
Re: bugs ?/ same active position displayed on 2 different ch [SOLVED]
Hi Andrew, That article talks about 2 charts trading the same account while in this case I used 2 different accounts of the same broker. The positions, executions and everything are OK except that the active position and related Stop/Limit orders cannot be displayed properly in each chart individual...
- 23 Oct 2013
- Forum: MultiCharts
- Topic: same active position displayed on 2 different charts [SOLVED]
- Replies: 6
- Views: 1928
same active position displayed on 2 different charts [SOLVED]
Hi, I opened 2 charts applied with different signals to trade the same instrument. When the 2 different signals both have its own positions, however, both chart will display the same position which belongs to one of the charts. Further info: -64bit (8.7 release build 7634) -both charts shared the sa...
- 16 Oct 2013
- Forum: MultiCharts .NET
- Topic: Multichart.NET SE. Can't open a chart [SOLVED]
- Replies: 4
- Views: 2293
FXCM Data Trial [SOLVED]
Hi,
I am using MC(not .net version) and would like to try the FXCM data for 2 weeks. Please let me know how to do it. Thanks.
I am using MC(not .net version) and would like to try the FXCM data for 2 weeks. Please let me know how to do it. Thanks.
- 10 Sep 2013
- Forum: MultiCharts
- Topic: Referring TPO, Volume Delta and Volume Profile data [SOLVED]
- Replies: 1
- Views: 1415
Referring TPO, Volume Delta and Volume Profile data [SOLVED]
Hi,
I want to know how the captioned data can be used by an indicator or strategy.
Thanks.
LMC1
I want to know how the captioned data can be used by an indicator or strategy.
Thanks.
LMC1
- 07 May 2013
- Forum: MultiCharts
- Topic: "PosTradeExitName" problem
- Replies: 4
- Views: 2082
Re: "PosTradeExitName" problem
Hi Dave, I'm pretty sure it is a problem of the function itself. Only when I set the parameters as (1,0) did it return error message of {Exception} Floating-point division by zero. When I change the parameters to whatever other combinations, such as (1,1) or (2,1).... the system compiled and saved a...
- 05 May 2013
- Forum: MultiCharts
- Topic: "PosTradeExitName" problem
- Replies: 4
- Views: 2082
"PosTradeExitName" problem
Hi, On every new trading day, I want to check the Exit Order name of the previous day's last position. So I code ==> if PosTradeExitName(1,0) = ("LX Eod") then ..... The whole system is then compiled and saved. But when it is run by MC, it returns error message: Division by Zero. However, if I code ...
- 30 Apr 2013
- Forum: MultiCharts
- Topic: Suspend Trading for the day after 2 consecutive losses
- Replies: 2
- Views: 1746
Re: Suspend Trading for the day after 2 consecutive losses
Thanks, I'll try again.
LMC
LMC
- 28 Apr 2013
- Forum: MultiCharts
- Topic: Suspend Trading for the day after 2 consecutive losses
- Replies: 2
- Views: 1746
Suspend Trading for the day after 2 consecutive losses
Hi,
I want to include codes into my strategy to perform the captioned action, such that after 2 consecutive losses there will be no further trades for the remaining time of the same day.
Can anyone help ?
Thanks.
LMC
I want to include codes into my strategy to perform the captioned action, such that after 2 consecutive losses there will be no further trades for the remaining time of the same day.
Can anyone help ?
Thanks.
LMC