Search found 85 matches
- 18 Mar 2020
- Forum: MultiCharts
- Topic: Stop trading for consecutive loss
- Replies: 4
- Views: 1401
Re: Stop trading for consecutive loss
i have change the cade from if marketposition = 0 and marketposition[1] <> 0 and positionprofit(1) < 0 then to if marketposition = 0 and marketposition(1) <> 0 and positionprofit(1) < 0 and entrydate(1) = date then seems can make the counter reset again after date change, solved part of the problems...
- 18 Mar 2020
- Forum: MultiCharts
- Topic: Stop trading for consecutive loss
- Replies: 4
- Views: 1401
Re: Stop trading for consecutive loss
Hello johnmok, Please try to replace square brackets with round brackets: marketposition[1] ... marketposition(1) i have tried replacing the brackets, it works, but only works for one time. when it stops, it stop forever. as far as i knows, changing bracket from [ ] to ( ) would means returning val...
- 12 Mar 2020
- Forum: MultiCharts
- Topic: Stop trading for consecutive loss
- Replies: 4
- Views: 1401
Stop trading for consecutive loss
Hi all, with reference to these two topics; https://www.multicharts.com/discussion/viewtopic.php?t=8243 https://www.multicharts.com/discussion/viewtopic.php?f=5&t=8215 i also want to set a simple counter to stop system from trading for two consecutive loses intraday until the next trading day, using...
- 20 Feb 2020
- Forum: MultiCharts
- Topic: Need some guidance with the ATR Trailing LX(SX) signal of MC
- Replies: 3
- Views: 1714
Re: Need some guidance with the ATR Trailing LX(SX) signal of MC
His code is simply copy from multicharts built in library, the built in signal "ATR trailing LX" wrote by Multicharts.
i've also got the same problem, the first part is pretty easy to understand.
while the second part is confusing, i would also like to know what "AtrLX-eb" use for.
thank you.
i've also got the same problem, the first part is pretty easy to understand.
while the second part is confusing, i would also like to know what "AtrLX-eb" use for.
thank you.
- 20 Feb 2020
- Forum: MultiCharts
- Topic: About scripts for adding to winning positions [SOLVED]
- Replies: 3
- Views: 1058
Re: About scripts for adding to winning positions [SOLVED]
Problem solved by using
PosTradeEntryPrice
Thanks guys
PosTradeEntryPrice
Thanks guys
- 17 Feb 2020
- Forum: MultiCharts
- Topic: About scripts for adding to winning positions [SOLVED]
- Replies: 3
- Views: 1058
- 17 Feb 2020
- Forum: MultiCharts
- Topic: About scripts for adding to winning positions [SOLVED]
- Replies: 3
- Views: 1058
About scripts for adding to winning positions [SOLVED]
Hi all, i want to have add position for a long strategy, using the following scripts, but doesn't work. input: AddFunction(True), StopLoss(50); if AddFunction then begin if marketposition = 1 then begin if (High - entryprice) > StopLoss then buy("L-Add") next bar market; end; it seems that whenever ...
- 08 Oct 2014
- Forum: MultiCharts
- Topic: Unable to connect to interactive brokers [SOLVED]
- Replies: 4
- Views: 2474
Re: Unable to connect to interactive brokers [SOLVED]
thanks Henry, problem have solved, i have miss the trusted ip setting in TWS, Christina have helped me figuring it out, thanks a lot Henry
- 07 Oct 2014
- Forum: MultiCharts
- Topic: Unable to connect to interactive brokers [SOLVED]
- Replies: 4
- Views: 2474
Re: Unable to connect to interactive brokers [SOLVED]
it's both 7496 everything is ok for 8.8 ( iam using the 64bit version for both 8.8 and 9.0) but it just fail after upgraded to 9.0, as i mentioned above, i can get the price quote from interactive bokers in MC, but just can't connect and place order. i have tried new install on other few machines fo...
- 06 Oct 2014
- Forum: MultiCharts
- Topic: Unable to connect to interactive brokers [SOLVED]
- Replies: 4
- Views: 2474
Unable to connect to interactive brokers [SOLVED]
http://i.imgur.com/9YhAH5V.png Hi all, i am using MC 9.0, and most update version of standalone TWS of interactive brokers the problem i've got is that i can get market data from ib through TWS, but i just can't connect to brokers, each time i press "connect"(the red dot button) on the top right co...
- 03 Jan 2013
- Forum: MultiCharts
- Topic: encounter problems in scanner [SOLVED]
- Replies: 1
- Views: 1217
encounter problems in scanner [SOLVED]
hi all,
i am using mc8.5 beta 2
i can't get the high low ask bid etc data in scanner window, i think i might be doing something wrong, any suggestion? thanks a lot.
i am using mc8.5 beta 2
i can't get the high low ask bid etc data in scanner window, i think i might be doing something wrong, any suggestion? thanks a lot.
- 10 Dec 2012
- Forum: MultiCharts
- Topic: download latest version of multicharts
- Replies: 2
- Views: 1191
download latest version of multicharts
i want to install on my windows 8 notebook, after i reinstalled the windows, i can't click the about button to find my id, so can't fill the form to request the software....
please help, thanks!
please help, thanks!
- 11 Jul 2012
- Forum: MultiCharts
- Topic: about exit strategy in mc8.0 chart trading window
- Replies: 1
- Views: 807
about exit strategy in mc8.0 chart trading window
i remember that in the old version, when i drag the trailing stop strategy to the active position i can choose whether it trailing by tick or %. i used to set it as percentage, and when it retrace back say 30% of my profit, the position will be closed. but in mc 8.0, it seems changed, when i choose ...
- 08 Mar 2012
- Forum: MultiCharts
- Topic: symbol list importing and scanner related problem
- Replies: 6
- Views: 1959
Re: symbol list importing and scanner related problem
my list come from eoddata, there are three lists(NYSE, NASDAQ, AMEX), attached in the post. i just import the list to mc through quote manager, then i open a scanner. copy the symbol in the file and paste it in scanner, the scanner then try to load the chart. in "trend" column. after finished the fi...
- 07 Mar 2012
- Forum: MultiCharts
- Topic: symbol list importing and scanner related problem
- Replies: 6
- Views: 1959
symbol list importing and scanner related problem
after importing list of symbols (NYSE, NASDAQ, AMEX)
i copy the whole list in the scanner, an error message keep popping up
i close it by pressing confirm, but the error message keep popping up
the error message shown as below,
incompatible version of: IIndicator in module: DataStorage
i copy the whole list in the scanner, an error message keep popping up
i close it by pressing confirm, but the error message keep popping up
the error message shown as below,
incompatible version of: IIndicator in module: DataStorage
- 06 Mar 2012
- Forum: MultiCharts
- Topic: about stock scanner function
- Replies: 3
- Views: 1370
Re: about stock scanner function
thanks tj, i will try it out for sure after solving some minor problems~!
thanks!
thanks!
- 06 Mar 2012
- Forum: MultiCharts
- Topic: can't show chart of hk stock in MC7.4B4906
- Replies: 4
- Views: 1334
Re: can't show chart of hk stock in MC7.4B4906
thanks Henry,
i have double checked that i've got the correct setting as you said,
and the hk stock which have ploting problem in mc have no problem ploting in tws
which can show 2 years data.
look forward to your help, thanks
i have double checked that i've got the correct setting as you said,
and the hk stock which have ploting problem in mc have no problem ploting in tws
which can show 2 years data.
look forward to your help, thanks
- 05 Mar 2012
- Forum: MultiCharts
- Topic: can't show chart of hk stock in MC7.4B4906
- Replies: 4
- Views: 1334
Re: can't show chart of hk stock in MC7.4B4906
updated information.... http://i514.photobucket.com/albums/t344/BlackStarPUA/error.jpg can see that from the uploaded screenshot, not all stocks show error charting... we can see that the us stocks is ok, some of the hk stocks are also fine. others have error in charting, e.g. daily chart in the scr...
- 04 Mar 2012
- Forum: MultiCharts
- Topic: about stock scanner function
- Replies: 3
- Views: 1370
about stock scanner function
i know mc have a scanner function to real time monitoring a list of stocks. i am aiming for another purpose, i want to do a eod scanning of all the stocks in a stock market on daily basis for example, finding stocks which have price above 200 day sma and rsi < 30, do i need to have a list with all t...
- 04 Mar 2012
- Forum: MultiCharts
- Topic: can't show chart of hk stock in MC7.4B4906
- Replies: 4
- Views: 1334
can't show chart of hk stock in MC7.4B4906
hi all, i can show chart of us stocks in mc through interactive broker tws with no problem but i can't show chart from hk stock market properly only 9 bars from the latest day can be shown for daily chart only 3 bars can be shown for weekly chart only 2 bars can be shown on monthly chart for 5min an...
- 20 Feb 2012
- Forum: MultiCharts
- Topic: Results difference for BT in portfolio backtester and MC
- Replies: 4
- Views: 3984
Re: Results difference for BT in portfolio backtester and MC
thanks a lot, completely solve my problem
- 17 Jan 2012
- Forum: MultiCharts
- Topic: Results difference for BT in portfolio backtester and MC
- Replies: 4
- Views: 3984
Re: Results difference for BT in portfolio backtester and MC
thanks a lot! i've got the same result now, my second question is why there is more information provided in the report in mc compare with that in backtester? (as shown in the screenshot above)
is there any option to have a "full" report in backtester's report?
thanks!
is there any option to have a "full" report in backtester's report?
thanks!
- 08 Jan 2012
- Forum: MultiCharts
- Topic: MC 7.4, signal reporting error profit / loss of position
- Replies: 3
- Views: 1148
Re: MC 7.4, signal reporting error profit / loss of position
problem solved, i found the setting in quote manager, the big point value option in edit symbol -> setting, thanks a lot!
- 08 Jan 2012
- Forum: MultiCharts
- Topic: MC 7.4, signal reporting error profit / loss of position
- Replies: 3
- Views: 1148
Re: MC 7.4, signal reporting error profit / loss of position
John, Perhaps it's brokerage. Neil. thanks for your reply, for the case inside the yellow circle. the buying price is 17571, and the sell price is 17657, HKD$50 for each point. commision is HK$19.1, and slippage is set at HK$100, so for this trade, the profit should be $4300 - $238.2 = HK$4061.8 af...
- 08 Jan 2012
- Forum: MultiCharts
- Topic: MC 7.4, signal reporting error profit / loss of position
- Replies: 3
- Views: 1148
MC 7.4, signal reporting error profit / loss of position
after upgrading to MC 7.4, when i apply signal to the chart, i' ve got wrong results on the chart as shown below. http://i514.photobucket.com/albums/t344/BlackStarPUA/charterror.png i just applied simple strategy to the chart , the channel breakout le and se. in the yellow circle, you can see that t...
- 08 Jan 2012
- Forum: MultiCharts
- Topic: Results difference for BT in portfolio backtester and MC
- Replies: 4
- Views: 3984
Results difference for BT in portfolio backtester and MC
as title stated, i found the results have significant difference for backtesting inside MC and that from backtester, all setting(e.g. signal, start capital, etc.)are the same, but they just give different result. screenshot shown as below for reference, did i miss anything to get this result? thanks...
- 09 Dec 2011
- Forum: MultiCharts
- Topic: About ASCII importing and mapping issue
- Replies: 7
- Views: 1605
Re: About ASCII importing and mapping issue
sure, file sent, thanks! before investigating my case, let me show you more info about the issue. i try to important data from Oct, 2006 to Mar, 2009, and the cropping data problem appear once, and i do some more testing on it, i find that the data could be shown completely and flawless with 5 min c...
- 09 Dec 2011
- Forum: MultiCharts
- Topic: About ASCII importing and mapping issue
- Replies: 7
- Views: 1605
Re: About ASCII importing and mapping issue
as shown below, thanks a lot! 2006-10 HSI,20061003,094401,17497,18,020 HSI,20061031,161458,18340,2,001 2006-11 HSI,20061101,094401,18332,1,020 HSI,20061130,161458,18998,1,001 2006-12 HSI,20061201,094400,18968,7,020 HSI,20061229,161459,20018,2,001 2007-01 HSI,20070102,094400,20088,2,020 HSI,20070131,...
- 07 Dec 2011
- Forum: MultiCharts
- Topic: About ASCII importing and mapping issue
- Replies: 7
- Views: 1605
Re: About ASCII importing and mapping issue
some more info about my import problem, i test one more time, try to import the data one by one, and find that it crop out the data in a way that it just crop out the old data, and can only keep the newest 12 month data, so after i import the 60 files, only the newest 12 month(i.e.12 files) data can...
- 07 Dec 2011
- Forum: MultiCharts
- Topic: About ASCII importing and mapping issue
- Replies: 7
- Views: 1605
Re: About ASCII importing and mapping issue
thanks for your response! i add the symbol in quote manager, instrument -> add symbol -> manually with the setting of data source = ASCII mapping symbol = HSI category = Futures exchange = HKFE after create the symbol, i left click on the symbol, and use ctrl-i to import my 60 csv files seperately i...
- 06 Dec 2011
- Forum: MultiCharts
- Topic: About ASCII importing and mapping issue
- Replies: 7
- Views: 1605
About ASCII importing and mapping issue
I' ve got 60 csv file of the same symbol The symbol is a futures which means a total of 60 months data. No matter I use importing or mapping function. Both doesn't work. When using The importing function, I imported the 60 files, and find that only the data of the first month could be shown. (ps. I ...
- 01 Dec 2011
- Forum: MultiCharts
- Topic: How can i make the marker show up again?
- Replies: 2
- Views: 930
Re: How can i make the marker show up again?
oh, it works! thanks a lot!
- 28 Nov 2011
- Forum: MultiCharts
- Topic: How can i make the marker show up again?
- Replies: 2
- Views: 930
How can i make the marker show up again?
thanks, i can find the setting for marker of indicator and signal easily, but seems can't find the option for these stop order marker.
thanks all.
cheers
- 25 Nov 2011
- Forum: MultiCharts
- Topic: Vote for MultiCharts in "Best of 2011" on Trade2Win
- Replies: 14
- Views: 3155
- 16 Nov 2011
- Forum: MultiCharts
- Topic: hi, can't add symbol to mc in quote manager
- Replies: 6
- Views: 1465
Re: hi, can't add symbol to mc in quote manager
after a clean installation, all problems solved. thanks for all of your help!
- 15 Nov 2011
- Forum: MultiCharts
- Topic: hi, can't add symbol to mc in quote manager
- Replies: 6
- Views: 1465
- 15 Nov 2011
- Forum: MultiCharts
- Topic: hi, can't add symbol to mc in quote manager
- Replies: 6
- Views: 1465
Re: hi, can't add symbol to mc in quote manager
i have upgradeed to 7.2 and use TWS 920 but still no symbol, and i also discover another problem when using mc with my home computer after i send order to IB through chart trader, e.g. buying order, there aren't any active order info on the chart. i have check that i've already enable showing active...
- 15 Nov 2011
- Forum: MultiCharts
- Topic: hi, can't add symbol to mc in quote manager
- Replies: 6
- Views: 1465
hi, can't add symbol to mc in quote manager
in my home computer, i can't add symbol of hong kong market to quote manager i type in the name and can't have any search results, i works in my other computers, just the one at my home fail. i use data source from IB. through TWS. symbol from other market is ok. any possible reason for the problem ...
- 10 Nov 2011
- Forum: MultiCharts
- Topic: about stop trading when meeting daily profit target
- Replies: 8
- Views: 1965
Re: about stop trading when meeting daily profit target
after checking the print dailyprofit value, i find that the strategy i wrote can just save the current position profit to the dailyprofit variable, rather than do what i want, accumulate the result. just as my statement write, dailyprofit = dailyprofit + tradeprofit. i suspect that the dailyprofit v...
- 09 Nov 2011
- Forum: MultiCharts
- Topic: about stop trading when meeting daily profit target
- Replies: 8
- Views: 1965
Re: about stop trading when meeting daily profit target
hi TJ, i use the strategy on 5 min chartYou can debug by adding PRINT statements to the code.
You will need to know if DailyProfit is actually at the value you expected.
ps. what is your chart resolution?
- 09 Nov 2011
- Forum: MultiCharts
- Topic: about stop trading when meeting daily profit target
- Replies: 8
- Views: 1965
Re: about stop trading when meeting daily profit target
thanks TJ, i modified the code as you said and the max bar error disappear. but the problem is that, no matter the daily netprofit exceed 800 or below -800, the system keeps on trading.... the limit trade function of the strategy still not work.. let me show you the full code of my strategy....thank...
- 09 Nov 2011
- Forum: MultiCharts
- Topic: about stop trading when meeting daily profit target
- Replies: 8
- Views: 1965
Re: about stop trading when meeting daily profit target
hi TJ, i've tried your code, it shows error message "tried to reference back more bars(51) than allowed by the current maxbarsback setting. please increase the maxbarsback setting." the script should just compare the date difference, nothing related to moving average sort of things that need to refe...
- 09 Nov 2011
- Forum: MultiCharts
- Topic: about stop trading when meeting daily profit target
- Replies: 8
- Views: 1965
about stop trading when meeting daily profit target
part of my code is shown below, the concept is that i want the program to stop trading whenever the daily profit meet $800 or loss $800. i use a dailyprofit counter to detect the daily total profit. at the end of the day, the dailyprofit counter will set zero and works another round the next day... ...
- 09 Nov 2011
- Forum: MultiCharts
- Topic: about IOG/BarMagnifier in custom futures...
- Replies: 10
- Views: 3340
about IOG/BarMagnifier in custom futures...
i've got a strategy with intrabarordergeneration = true
and multicharts said that for custom futures, bar magnification is not available.
my question is any method to test "real-time" strategy in custom futures?
thanks!
and multicharts said that for custom futures, bar magnification is not available.
my question is any method to test "real-time" strategy in custom futures?
thanks!
- 04 Nov 2011
- Forum: MultiCharts
- Topic: about downloading historical data from IB
- Replies: 7
- Views: 1527
Re: about downloading historical data from IB
sptrader, thanks for your kind opinion!
- 04 Nov 2011
- Forum: MultiCharts
- Topic: about downloading historical data from IB
- Replies: 7
- Views: 1527
Re: about downloading historical data from IB
i see, so, would e-signal be a good solution? any other good data provider with products in a competitive price?
and i find that e-signal on demand version also give intraday historical data, would that be a good choice for backtesting purpose?
thanks~!
and i find that e-signal on demand version also give intraday historical data, would that be a good choice for backtesting purpose?
thanks~!
- 03 Nov 2011
- Forum: MultiCharts
- Topic: about downloading historical data from IB
- Replies: 7
- Views: 1527
Re: about downloading historical data from IB
thanks... sptrader.... ib's data solution is really no good then....
- 03 Nov 2011
- Forum: MultiCharts
- Topic: about downloading historical data from IB
- Replies: 7
- Views: 1527
about downloading historical data from IB
hi all, when i try to download the historical data from ib, the download time is exceptionally long. when i check the log in quote manager, it keep on showing historical market data service error message: historical data request pacing violation. if i restart the tws, sometimes it works again, but t...
- 02 Nov 2011
- Forum: MultiCharts
- Topic: BAD TICKS from TWS
- Replies: 3
- Views: 1485
Re: BAD TICKS from TWS
i also want to know how to force the quote manager to update part of the data or reload all the data in the database. bad tick cause serious problem for backtesting, take for example, the session end time of a market is 16:15, my strategy will close the position at 16:10. and in some part of the dat...
- 02 Nov 2011
- Forum: MultiCharts
- Topic: MC ask for adding contract to custom futures
- Replies: 3
- Views: 764
Re: MC ask for adding contract to custom futures
thanks TJ! problem solved!
- 02 Nov 2011
- Forum: MultiCharts
- Topic: MC ask for adding contract to custom futures
- Replies: 3
- Views: 764
Re: MC ask for adding contract to custom futures
oh, sorry, i've checked the quote manager, i don't have the V contract 2009 in the root. it's the october contract
but i just want to load the data start from 1/11/2009 till 1/11/2011, why it always ask for the contract in oct2009?
thanks
but i just want to load the data start from 1/11/2009 till 1/11/2011, why it always ask for the contract in oct2009?
thanks
- 02 Nov 2011
- Forum: MultiCharts
- Topic: MC ask for adding contract to custom futures
- Replies: 3
- Views: 764
MC ask for adding contract to custom futures
problem shown as follows, error message show up every time i reload the data, but i have add the contract already, hope to have a solution for that.
- 01 Nov 2011
- Forum: MultiCharts
- Topic: about reading indicator value of 15min from a 5min chart
- Replies: 3
- Views: 792
Re: about reading indicator value of 15min from a 5min chart
thanks a lot! super clear!
- 01 Nov 2011
- Forum: MultiCharts
- Topic: about reading indicator value of 15min from a 5min chart
- Replies: 3
- Views: 792
Re: about reading indicator value of 15min from a 5min chart
hi, just found a post seems relevant, any more information that i need to know? thanks
viewtopic.php?f=16&t=6929
viewtopic.php?f=16&t=6929
- 01 Nov 2011
- Forum: MultiCharts
- Topic: about reading indicator value of 15min from a 5min chart
- Replies: 3
- Views: 792
about reading indicator value of 15min from a 5min chart
hi all, i've got a new question. i've got a new trading idea. it's about trading on a 5min chart, where i need to get indicator value(e.g. Moving average) base on 15min time frame of the same instrument, so that i can get the direction first, and then i use another indicator on 5 min chart to find t...
- 29 Oct 2011
- Forum: MultiCharts
- Topic: Mac OS
- Replies: 4
- Views: 2365
Re: Mac OS
MC is the kind of software that need much cpu calculation, therefore, mac version of MC is much better than emulate one on virtual pc. office software and web browser are the type that suit the virtual pc option but when we talk about real time auto trading, it's not appropriate to run MC on virtual...
- 28 Oct 2011
- Forum: MultiCharts
- Topic: about saving market data to local drive
- Replies: 7
- Views: 1307
Re: about saving market data to local drive
hey guys, thank you all!
clear explanation, lovvvve MultiCharts!
clear explanation, lovvvve MultiCharts!
- 28 Oct 2011
- Forum: MultiCharts
- Topic: about saving market data to local drive
- Replies: 7
- Views: 1307
Re: about saving market data to local drive
thanks TJ!
may i ask one more question?
do multicharts have the function to combine the different futures contract to one continuous contract for me? or i have to do that on my own?
may i ask one more question?
do multicharts have the function to combine the different futures contract to one continuous contract for me? or i have to do that on my own?
- 28 Oct 2011
- Forum: MultiCharts
- Topic: about saving market data to local drive
- Replies: 7
- Views: 1307
Re: about saving market data to local drive
thanks for your response. i am using IB, and trading HSI Futures the hsi futures will renew to a new contract, and IB won't keep the data of the expired contract . they won't be available any more, and i want to do the backtesting for a longer period of time rather than one month only. therefore, i ...
- 28 Oct 2011
- Forum: MultiCharts
- Topic: know the entry price and profit of a multicontracts position
- Replies: 7
- Views: 1680
Re: know the entry price and profit of a multicontracts posi
actually...i just make a silly mistake.... my strategy is something like the rsi value > 80 and then i sell short , and set stop loss to the strategy and i set the code as if myRSIvalue > 80 then sell short next bar market but the problem is that, for an rsi type strategy, when you have to stop loss...
- 28 Oct 2011
- Forum: MultiCharts
- Topic: know the entry price and profit of a multicontracts position
- Replies: 7
- Views: 1680
Re: know the entry price and profit of a multicontracts posi
problem solved, thanks all.
- 28 Oct 2011
- Forum: MultiCharts
- Topic: about saving market data to local drive
- Replies: 7
- Views: 1307
about saving market data to local drive
hi all, for some futures contracts, the data will disappear after the contract expire. is there any method, to save the data to local drive, so that we can use it to do analysis in the future? i find that in the file -> export data, seems can save the data, but i don't know if there are any other me...
- 27 Oct 2011
- Forum: MultiCharts
- Topic: About SetStopxxx keywords
- Replies: 5
- Views: 1058
Re: About SetStopxxx keywords
hi TJ,
the value "50" and "300" is already means money, aiming at stop loss when have a loss of $50,
and take profit when the profit reach $300.
may you explain it in detail? thanks.
john
the value "50" and "300" is already means money, aiming at stop loss when have a loss of $50,
and take profit when the profit reach $300.
may you explain it in detail? thanks.
john
- 27 Oct 2011
- Forum: MultiCharts
- Topic: About SetStopxxx keywords
- Replies: 5
- Views: 1058
About SetStopxxx keywords
hi all, i am writing setstoploss and setprofittarget function, i want the setstoploss function to be position basis, and the setprofittarget function on a share basis, therefore i use the code as follows setstopposition; setstoploss(50); setstopshare; setprofittarget(300); but the result is that sto...
- 27 Oct 2011
- Forum: MultiCharts
- Topic: know the entry price and profit of a multicontracts position
- Replies: 7
- Views: 1680
Re: know the entry price and profit of a multicontracts posi
thanks, another cropped image uploaded
- 27 Oct 2011
- Forum: MultiCharts
- Topic: know the entry price and profit of a multicontracts position
- Replies: 7
- Views: 1680
Re: know the entry price and profit of a multicontracts posi
actually, the reason i raise this question is that, my program seems can't get the profit info of the contract quite well, and keep on buy or sellshort immediately after the stop loss. the stoploss function become useless.... a problem screen shot showed as follows http://i514.photobucket.com/albums...
- 27 Oct 2011
- Forum: MultiCharts
- Topic: know the entry price and profit of a multicontracts position
- Replies: 7
- Views: 1680
Re: know the entry price and profit of a multicontracts posi
oh, after i checked the dictionary up, it seems that postradeprofit and postradeentryprice can do the job.... postradeprofit(0,2) for the profit of the first contracts of the position with three contracts in total. postradeprofit(0,1) for the profit of the second contracts. postradeprofit(0,0) for t...
- 27 Oct 2011
- Forum: MultiCharts
- Topic: know the entry price and profit of a multicontracts position
- Replies: 7
- Views: 1680
know the entry price and profit of a multicontracts position
for easier understanding, let me give you an example. i have opened a long position at $1219 for 1 contract, and then buy signal comes again. the strategy add another contract to the long position at $1221, and after that the strategy trigger the add function again, so another contract added at $122...
- 26 Oct 2011
- Forum: MultiCharts
- Topic: Pyramiding Orders w/unique stops & current acct balance
- Replies: 8
- Views: 2501
Re: Pyramiding Orders w/unique stops & current acct balance
i am also working on how to make the positions exit separately, i have browse some website, and found that a way to do that is making use of counters, the code is come from markplex. var: ce(0),twoctr(0),threectr(0),startcounttwo(false),startcountthree(False); CE = CurrentEntries; If CE = 2 and CE[1...
- 25 Oct 2011
- Forum: MultiCharts
- Topic: about code of adding to winning positions...
- Replies: 2
- Views: 1029
Re: about code of adding to winning positions...
oh...i am sorry, you are correct, i haven't check that box. after checking the box, the script works...
thanks!
thanks!
- 25 Oct 2011
- Forum: MultiCharts
- Topic: about code of adding to winning positions...
- Replies: 2
- Views: 1029
about code of adding to winning positions...
hi all, another part of the program is about adding to winning position. my plan is to add two more contracts to the original position, which made a maximum of three in total. the conditions is to add one more contract every US$50 profit from the previous contract, the code are as follows, but after...
- 25 Oct 2011
- Forum: MultiCharts
- Topic: a strategy close all open position in a preset time
- Replies: 10
- Views: 3161
Re: a strategy close all open position in a preset time
oh my god! it really works!
tj, thank you so much, you are absolutely my star~!
tj, thank you so much, you are absolutely my star~!
- 25 Oct 2011
- Forum: MultiCharts
- Topic: a strategy close all open position in a preset time
- Replies: 10
- Views: 3161
Re: a strategy close all open position in a preset time
more info.... ... the results are as follows, when only two strategies applied, the MACD LE and the MovAvg Cross LX, i get the following when add the provided exit strategy, the position close at bar end after entry, like this... and if i use my own modified version exit strategy, nothing happen, y...
- 24 Oct 2011
- Forum: MultiCharts
- Topic: a strategy close all open position in a preset time
- Replies: 10
- Views: 3161
Re: a strategy close all open position in a preset time
note:
1. Please use code tag when posting codes. It makes reading easier.
(I have tagged them for you in the above post.)
2. Please reduce the photo to 800 pixel width before posting.
i am sorry... new to forum, photo resolution changed!
- 24 Oct 2011
- Forum: MultiCharts
- Topic: a strategy close all open position in a preset time
- Replies: 10
- Views: 3161
Re: a strategy close all open position in a preset time
more info.... i test the code provided in the link and my modified code as follows. i applied three strategies to test it, include the MACD LE, MovAvg Cross LX and the exit strategy in the link and my mod. ver.. using it on the es-mini 5 min chart. strategies code provided in the link --------------...
- 24 Oct 2011
- Forum: MultiCharts
- Topic: a strategy close all open position in a preset time
- Replies: 10
- Views: 3161
Re: a strategy close all open position in a preset time
thanks a lot, i think i've got the concept, and for my case, i've made a little bit modification as follows, but it seems doesn't work, i add it as a separate strategy, as my testing strategy is not the "IOG true" type, shall i make a strategy that is IOG true to match the code, or my code have some...
- 24 Oct 2011
- Forum: MultiCharts
- Topic: a strategy close all open position in a preset time
- Replies: 10
- Views: 3161
a strategy close all open position in a preset time
hi all, i want to day trade futures and therefore i need to close all open positions when each session end. therefore it comes up the following script, but it does not work, i wonder is there any error in the code, thanks all. p.s. i use 5 min chart inputs: xtimeam(1155), xtimepm(1610); if time = xt...
- 24 Oct 2011
- Forum: MultiCharts
- Topic: a few suggestions for 7.1 beta...
- Replies: 10
- Views: 2001
Re: a few suggestions for 7.1 beta...
PrintScreen might be easier than taking actual pictures of your screen :) haha, thanks, i use mac, i know i can press command shift 3 for print screen. but the problem is i use boot camp to install windows on a mac.... so, mac don't have a print screen button, and i can't use the command shift 3 in...
- 24 Oct 2011
- Forum: MultiCharts
- Topic: Persisting IntraBarOrderGeneration (IOG) limit orders.
- Replies: 7
- Views: 3596
Re: Persisting IntraBarOrderGeneration (IOG) limit orders.
hi all, regarding the iog, i've also got a problem, if i turn on IOG in the strategy, when i do the backtesting, will the system simulate in a way that it read every tick to see whether the buy signal trigger in the middle of the bar, or it only runs at the close of the bar? the reason i have this q...
- 21 Oct 2011
- Forum: MultiCharts
- Topic: a few suggestions for 7.1 beta...
- Replies: 10
- Views: 2001
Re: a few suggestions for 7.1 beta...
I see, thanks a lot. I will try to upgrade my software to the latest version, hope I could find the correct link
- 21 Oct 2011
- Forum: MultiCharts
- Topic: a few suggestions for 7.1 beta...
- Replies: 10
- Views: 2001
Re: a few suggestions for 7.1 beta...
and for the box problem, actually what i mean is the auction price of the auction period of futures in some market, e.g. hk hsi futures, the "bid/ask" box in the photo below can show the auction price in real time, but i can't find one in the chart trading bar, so i would like to have that "bid/ask"...
- 21 Oct 2011
- Forum: MultiCharts
- Topic: a few suggestions for 7.1 beta...
- Replies: 10
- Views: 2001
Re: a few suggestions for 7.1 beta...
for the out of align problem, after a few times of open and close the workspace action, the right side of the workspace will looks like this... http://i514.photobucket.com/albums/t344/BlackStarPUA/1.jpg and after a few more times, it looks like this http://i514.photobucket.com/albums/t344/BlackStarP...
- 21 Oct 2011
- Forum: MultiCharts
- Topic: a few suggestions for 7.1 beta...
- Replies: 10
- Views: 2001
Re: a few suggestions for 7.1 beta...
oh sorry, i've got it, i just thought that the button is for the connection status signal only, i miss the fact that it's a button, and keep on click on the arrow beside it to find the reconnect function and found nothing other than manage brokers profile.... and also got it about the limit order fu...
- 20 Oct 2011
- Forum: MultiCharts
- Topic: a few suggestions for 7.1 beta...
- Replies: 10
- Views: 2001
Re: a few suggestions for 7.1 beta...
and also, for the reload all data function
some indicator need to calculate in real time, and those bad tick cause serious problem
i suggest to add a function to reload data every several minutes...
thanks
some indicator need to calculate in real time, and those bad tick cause serious problem
i suggest to add a function to reload data every several minutes...
thanks
- 20 Oct 2011
- Forum: MultiCharts
- Topic: a few suggestions for 7.1 beta...
- Replies: 10
- Views: 2001
a few suggestions for 7.1 beta...
hi, i few suggestions here, thanks. 1. the save workspace function have a problem, it stay out of align after a few times of open and close operations, there is always a some space on the right hand side, it's strange for a professional designed software. 2. for the chart trading window, i think the...