Search found 4 matches
- 03 May 2024
- Forum: MultiCharts
- Topic: After attain profit target, calculate the loss of closed position and open position profit....
- Replies: 7
- Views: 702
Re: After attain profit target, calculate the loss of closed position and open position profit....
exboy, ContractProfit = OpenPositionProfit / CurrentContracts . It indicates the current unrealized profit and does not include profit for the part of the position that was closed. Sorry for capturing this thread, but I have an issue while using ContractProfit. Can you please tell me what's the bas...
- 30 May 2023
- Forum: MultiCharts
- Topic: Unable to select or write the right account for auto trading [SOLVED]
- Replies: 2
- Views: 473
Re: Unable to select or write the right account for auto trading [SOLVED]
Hi Polly, thanks a lot. Yes I definitely restarted MC like described but never seen those other accounts. But the tip with the lookup button was exactly wat I was to blind to see or to connect it to this function, I was alway thinking this has to do with the trading instrument lookup. Thank you so m...
- 30 May 2023
- Forum: MultiCharts
- Topic: Unable to select or write the right account for auto trading [SOLVED]
- Replies: 2
- Views: 473
Unable to select or write the right account for auto trading [SOLVED]
Hi guys, I have the problem that I can't fill in the right account name for my Rithmic APEX PA account. In the Strategy Properties dialog under Broker Plug-in->Settings in the belonging combo box there are no values of the broker accounts unlike the chart trading widget where all the accounts are fi...
- 04 May 2023
- Forum: MultiCharts
- Topic: Time based exit [SOLVED]
- Replies: 3
- Views: 3527
Re: Time based exit [SOLVED]
Searching I found this topic but thought it's a little bit complicated. I figured out that the following code does the same in just one line of code. Maybe it's helpful for someone.
Code: Select all
Floor(datetime) - Floor(entrydatetime)