Search found 11 matches

by Capitanicoraggiosi3
24 Mar 2017
Forum: MultiCharts
Topic: Stop loss created immediately and not after one candles
Replies: 5
Views: 2266

Re: Stop loss created immediately and not after one candles

Hi Escamillo, are you telling me that I should put my exit strategy below "SetStopcontract;" will this change the way of working? I am confused because I have tested this strategy: if marketposition = 0 then buy 1000 contracts next bar at market; if marketposition = 1 then begin sell ("Exit 1") next...
by Capitanicoraggiosi3
22 Mar 2017
Forum: MultiCharts
Topic: Stop loss created immediately and not after one candles
Replies: 5
Views: 2266

Stop loss created immediately and not after one candles

Hi, I'm facing difficulties to let the Stoploss and Take profit to be added immediately when an order is generated. I've tried with this code: [IntrabarOrderGeneration=true] if marketposition = 0 and EntriesToday(date)=0 then buy 1000 contracts next bar at market; sell next bar at close-averagetruer...
by Capitanicoraggiosi3
20 Mar 2017
Forum: MultiCharts
Topic: Error in portfolio views
Replies: 1
Views: 882

Error in portfolio views

When I try to open any of the view in the portfolio it gives me the error in the attachment. do you know why?
If I stop the portfolio and close it then the problem get solved but after a while appears again.

thanks
by Capitanicoraggiosi3
17 Mar 2017
Forum: MultiCharts
Topic: symbol mapping
Replies: 4
Views: 1483

Re: symbol mapping

no open postions but anyway it is not soo important problems. thanks a lot for helping
by Capitanicoraggiosi3
11 Mar 2017
Forum: MultiCharts
Topic: alarms
Replies: 9
Views: 2254

Re: alarms

the counter arrives much higher than those values... at the moment is 5000. The problem could be also to undesratand with does every time that the system runs (every 5 second) a new alarm is not sent? Should't be that line read everytime and due to the fact that counter is grater should send another...
by Capitanicoraggiosi3
10 Mar 2017
Forum: MultiCharts
Topic: alarms
Replies: 9
Views: 2254

Re: alarms

Honestly.. I don't know. that code has been created by a multicharts expert here on the forum. It is used to know when the broker data get blocked for any reason. the only thing that I have changed are the alarms.
by Capitanicoraggiosi3
09 Mar 2017
Forum: MultiCharts
Topic: alarms
Replies: 9
Views: 2254

Re: alarms

I have tried in this way but same issue.. the first alarm works... the others doesn't... [IntrabarOrderGeneration = true] Vars: intrabarpersist counter(0); Recalclastbarafter(5); counter = IFF(getappinfo(aicalcreason) = calcreason_timer, counter + 1, 0); If dayofweek(currentdate) <> 6 and dayofweek(...
by Capitanicoraggiosi3
08 Mar 2017
Forum: MultiCharts
Topic: alarms
Replies: 9
Views: 2254

Re: alarms

Thanks JoshM, I will try but I'm afraid that this is not the case. The system runs every 5 seconds and the 2 conditions cannot happen at the same time.
by Capitanicoraggiosi3
07 Mar 2017
Forum: MultiCharts
Topic: symbol mapping
Replies: 4
Views: 1483

Re: symbol mapping

I've tried everything. I don't have graphs open in any workspaces... I see for instance QCG COMEX in symbol mapping... I delete it from symbol mapping, I push apply (no errors appears), I open the quote manager, I delete the symbol. When I reopen both the symbol mapping and the Quote mager I find it...
by Capitanicoraggiosi3
07 Mar 2017
Forum: MultiCharts
Topic: alarms
Replies: 9
Views: 2254

alarms

Hi, does anyone knows why only the first alert get created even if the counter get bigger than 15? thanks [IntrabarOrderGeneration = true] Vars: intrabarpersist counter(0); Recalclastbarafter(5); counter = IFF(getappinfo(aicalcreason) = calcreason_timer, counter + 1, 0); if counter > 5 then alert("I...
by Capitanicoraggiosi3
07 Mar 2017
Forum: MultiCharts
Topic: symbol mapping
Replies: 4
Views: 1483

symbol mapping

Hi, I'm trying to remove some data that I do not use in my symbol mapping list but when I click "apply" 4 equals errors appears: Source: Interactive Brokers Message: invalid destination exchange specified I am trying to remove lines of data that I have no charts open and that are not present in my q...

Go to advanced search