Search found 12 matches

by joshweaver05
15 Jan 2014
Forum: MultiCharts
Topic: IOG Order "setexitonclose"
Replies: 8
Views: 1943

Re: IOG Order "setexitonclose"

where would i look for the logs?

BO = soybean oil
CME exchange code for it is ZL

they are properly mapped.
by joshweaver05
14 Jan 2014
Forum: MultiCharts
Topic: IOG Order "setexitonclose"
Replies: 8
Views: 1943

Re: IOG Order "setexitonclose"

i might have a solution to this issue. IMO IOG is total BS in mc and really is a feature that never works proper in real time. so i am using 5min bars, was thinking maybe use data1/data2 and have 1min bars for data1 and 5min bars for data 2. this way i could do what i need to do using normal EL func...
by joshweaver05
14 Jan 2014
Forum: MultiCharts
Topic: IOG Order "setexitonclose"
Replies: 8
Views: 1943

Re: IOG Order "setexitonclose"

here is a screenshot of the order window last order was 205 the market was liquid at the time, also i do have the following in the code so even if not liquide: [/code] RecalcLastBarAfter(5); [/code] you can see when the EOD_B happened in the time stamp and the exact code to execute that order was th...
by joshweaver05
14 Jan 2014
Forum: MultiCharts
Topic: IOG Order "setexitonclose"
Replies: 8
Views: 1943

Re: IOG Order "setexitonclose"

because setexitonclose does not work in real time. so this is the code i generated to replace it. i can NOT use the code by goose because that has no time restraints and will send out 1000's orders literally after market hours.
by joshweaver05
14 Jan 2014
Forum: MultiCharts
Topic: IOG Order "setexitonclose"
Replies: 8
Views: 1943

IOG Order "setexitonclose"

I have a simple strategy to close positions before the close using IOG: if SymbolName = "@BOH14" then begin if (currenttime_s >= 141230 and currenttime_s <= 141415) and marketposition <> 0 then begin Buytocover ("EOD_B") next bar at market; sell ("EOD_S") next bar at market; end; end; RecalcLastBarA...
by joshweaver05
12 Jan 2014
Forum: MultiCharts
Topic: Placing Orders on Session Open [SOLVED]
Replies: 4
Views: 1478

Re: Placing Orders on Session Open [SOLVED]

was thinking of ideas and thought this might be a way around it, what do you think? its not complete code just quick jot to kinda get the idea on paper. if currenttime = 1710 then begin //current time = first bar for session Recalculate; end; if MarketPosition_at_Broker <> Marketposition then begin ...
by joshweaver05
11 Jan 2014
Forum: MultiCharts
Topic: Placing Orders on Session Open [SOLVED]
Replies: 4
Views: 1478

Re: Placing Orders on Session Open [SOLVED]

there are no after hour orders on the CME, unless your broker holds the order. the issue is at 1615 the order is placed ment for 1700 hour but but gets rejected so when 1700 comes around there are no order. it won't send new order till 1705 ( 5 min bars) since it thought it already send the 1700 bar...
by joshweaver05
11 Jan 2014
Forum: MultiCharts
Topic: Placing Orders on Session Open [SOLVED]
Replies: 4
Views: 1478

Placing Orders on Session Open [SOLVED]

since multicharts does pretty much everything next bar open in real time it seems to be causing me some issues from one session to the next. for example if we have a market like the ES, and it is open from 1700 - 1615, and an order is generated on the last bar of the day at 1615 it won't get sent to...
by joshweaver05
11 Jan 2014
Forum: MultiCharts
Topic: Nested If Statement
Replies: 10
Views: 2492

Re: Nested If Statement

the chart resolution is 5 min ES chart, which is open from 1800 to 1615 EST. the issue being with limit order strategies it send the order at the end of the bar and when MC does this and the market is closed it will send unlimited orders until the order is no longer rejected. so i devised the below ...
by joshweaver05
10 Jan 2014
Forum: MultiCharts
Topic: Nested If Statement
Replies: 10
Views: 2492

Re: Nested If Statement

thanks for your help, that page is a lot of help. quick question that is different than nested statements but directly related to the above code. I have inserted the above code because MC will send out a stream of limit orders after market hours and my broker does not like this. if I have the follow...
by joshweaver05
09 Jan 2014
Forum: MultiCharts
Topic: Nested If Statement
Replies: 10
Views: 2492

Re: Nested If Statement

I was not aware of the cascade syntax so basically in this format the statement says:

if none of the IF statements are true then condition30 = false.

which is exactly what i want.

is my above logic correct?
by joshweaver05
09 Jan 2014
Forum: MultiCharts
Topic: Nested If Statement
Replies: 10
Views: 2492

Nested If Statement

is the following accepted as a nested if statement in MC Easylangue? if SymbolName = "@ES#C" and ( time >=1615 And Time < 1800 ) then begin condition30= True; end Else begin if SymbolName = "@US#C" and ( time >=1700 And Time < 1800 ) then begin condition30= True; end Else begin if SymbolName = "QGC#...

Go to advanced search