Search found 5 matches

by Cicikov
08 Jun 2018
Forum: MultiCharts
Topic: Don't trade if stopped
Replies: 5
Views: 1784

Re: Don't trade if stopped

You can also try the PosTradeExitCategory keyword. With that keyword we can lookup what kind of order closed a position (i.e., was it a stop order, limit order, market order?). That way you can check if the position was stopped out or reached its profit target. See PosTradeExitCategory for more. Th...
by Cicikov
05 Jun 2018
Forum: MultiCharts
Topic: Don't trade if stopped
Replies: 5
Views: 1784

Re: Don't trade if stopped

You might try these functions:
Marketposition and positionproft. (or openpositionprofit).
thanks but I suppose it doesn't work because after you have been stopped your MP and PP will be 0 and a new trade will be allowd again...
by Cicikov
05 Jun 2018
Forum: MultiCharts
Topic: Don't trade if stopped
Replies: 5
Views: 1784

Don't trade if stopped

Hi all,

is there a code for "do not open a new position if during the current session you have been stopped"?

"If entriestoday(date)=0..." works only if I opened the position during this session. I'd like something that works if my original position was opened yesterday or earlier...

Thanks!
by Cicikov
13 Sep 2017
Forum: MultiCharts
Topic: Max one trade per week
Replies: 2
Views: 1638

Max one trade per week

Hi guys,

which is the right way to wright the code so that it does a maximum of one operation per week?

Thanks!
by Cicikov
27 Apr 2017
Forum: MultiCharts
Topic: Help with WeBank
Replies: 1
Views: 804

Help with WeBank

Hi, I've a problem working on Multicharts with my broker, WeBank. When I try to buy/sell a future I recive an error notification from the broker gateway which say (more or less) "if you want to buy/sell derivates you must log as cointested deposit". (I actually have a cointested deposit). I asked th...

Go to advanced search