![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTTlZ4yNocWHBy0qjNLRY-733udHPvYtrdMPpk-PoFT4-W4cc48FFs36HBbHiyexkgoKJRBvqMfZYTHjAZlVpWQtkaHPT6SkIfKXvFXKPkZVhzKtH4vxQ1zG4VxgyHo1ncG-brh8nuckQ/s320/Vol+Contraction.png)
for a 2-Min Chart using ES.D (counts back bars assuming full trading day)... this works but would like a better way to do this if anyone knows.
variables: firstbar(0), length(0);
if date>date[1] then begin firstbar=currentbar;end;
length=currentbar-firstbar;
value1=highd(0)-lowd(0);
value2=highest(h,length)-lowest(l,length);
value3=(value2[203]+value2[406]+value2[609])/3;Plot1(value1, "today");Plot2(value3, "3-Day Avg");
No comments:
Post a Comment