Hi All,
Since joining the forum, I have come on leeps and bounds with coding, with special thanks to TAMS and Blowfish for there help. I now have a tool box of self written codes, that I will post shortly, feedback and improvments to these would be greatly appriecated.
Is this the forum for them or should i post the codes in the Indicator section?
anyway, I'm stuck on a couple of easylanguge functions i'd like to code.
The first is based on principles from the legendary Don Jones of Cisco futures..
I'd like to plot the highest and lowest price that has traded on 3 30min bars over an inputable number of days. In market profile / value trading, highs and lows represent rejection. A price that has traded 3 times is classed as value. Hope this explains what im looking for. I have checked all my EL books, but obviously what im after is quite specific.
The second is how do I code an OCO pair in EL, as some of my sim strats will bang in orders left right and centre (stops staying on ect).
I've also noticed that if code a Long Buy@ market order, the Sell short order doesnt seem to get triggered on the sim. The Sell does plot when i code it as dot on an indicator.
Finally with the stops do i have to code them twice in for each order? ie
if close > open then buy next bar at market
setdollarstop[50]
if close < open then sell next bar at market
setdollarstop[50]
or do I just place 1 stop at the end of the two orders?
Thanks in advancve
VT