NEED HELP TO CODE THE OIL BREAKOUT SYSTEM
Forums › ProRealTime English forum › ProOrder support › NEED HELP TO CODE THE OIL BREAKOUT SYSTEM
- This topic has 8 replies, 3 voices, and was last updated 8 years ago by GAMMA.
Viewing 9 posts - 1 through 9 (of 9 total)
-
-
11/18/2016 at 5:58 PM #16785
WE NEED HELP TO CODE ,
OIL/NGAS / TIME 9.00 END2.00 @5 MIN OPEN RANGE FOR OIL/GAS
WHEN THE PRICE GO 8 TICK UP OR DOWN AND STAY THERE FOR 2.50 MIN . THEN A BUY AND SELL ORDER PLACE
LOT 2
NO TRADE ON WED DAY TILL 10.35 AM
STOP LOSS 15 TARGET 2
11/18/2016 at 6:00 PM #1678611/18/2016 at 11:06 PM #1679211/18/2016 at 11:16 PM #1679311/18/2016 at 11:44 PM #16794Alright, maybe here is a code you can try. Note that you might need to change “8” to really be 8 ticks.
123456789101112131415161718192021timech=090500if dayofweek=3 thentimech=103500endifif time=timech thenif close>close[1]+8 thenbuy 1 lot at marketendifif close<close[1]-8 thensellshort 1 lot at marketendifendifif time>=140000 thensell at marketexitshort at marketendifset stop loss 15set target profit 251 user thanked author for this post.
11/20/2016 at 11:10 AM #1682211/20/2016 at 4:36 PM #1685111/20/2016 at 9:12 PM #16866HERE IS SOME WAY WE CAN CONTROL THE FALSE BREAOUT
A. HIGH+LOW+CLOSE DIVIDED BY 3
B. HIGH+LOW DIVIDED BY 2
C . A-B=
D. C+ A AND THEN C- A
THIS IS CALLED DAILY PIVOT RANGE/ IF THE PREVIOUS DAY CLOSE WAS ABOVE TODAY DAILY PIVOT RANGE IT BULLISH
11/20/2016 at 9:14 PM #16867 -
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)
Find exclusive trading pro-tools on
Similar topics: