[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coding question



PureBytes Links

Trading Reference Links

i failed to come up in my files with any ela coding that specifically refers
to a certain bar number

so i was wondering how to code the following:

in a setup of 6 equal-timed bars of 65  minutes(a fulltrading stock day) i
would like

to analyze the following conditions:

1. if bar number#1 range is the highest of the past 6 bars( h-l >
highest(h-l,6)[1]) then

    a ok2trade variable would equal false.

2. if bar #2 or bar#3 would then either be the smallest range (h-l <
lowest(h-l,6)[1]) or
    an inside bar then ok2trade=true;

my intentions are to analyze stock movements after an initial wide-range bar
and if they are follwed by inside bar or a dual-inside bar.

for that matter it would be interesting to see the possible "fading" tarde
of another consecutive wide-range bar that necessarily is not

larger thn bar#1.


imho there is too much work being done on opening range breakout that seems
suceptible to market-makers/specialists fade.


Good Trading,

Tony V.