Just wondering if anybody know existing one or can adjust the code for TOS. It is simple Volume spike analysis study, identifying volume increase based on short, medium and long period of time. Below is the code in pine script: study("Volume Spike Analysis ", shorttitle="VSA_MS" ) shortLookback=input(4) mediumLookback=input(20) longLookback=input(100) showMA=input(by knias - Trading Discussion
Wow, thank you Robert its perfect. Some thank you is on the way.by knias - Trading Discussion
devildriver6 Wrote: ------------------------------------------------------- > Exactly. Because the first and second conditions > are absolute, the 3rd and 4th can't exist. Need a > shut down for the 1st and 2nd. > How can I achieve that ??? > But, for now, the bars are colored. > When using the assignpricecolor, it needs to be > one long string of if x then y elsby knias - Trading Discussion
devildriver6 Wrote: ------------------------------------------------------- > I got the cyan and magenta colored bars to show > up, but it looks like the black and white > conditions aren't happening. Thanks for trying, it's looks like the conditions are fighting each other.by knias - Trading Discussion
Hi everybody. I try to program this simple script, it should paint the candle bodies the way I need it but somehow it doesn't at all. Anybody can help to identify the problem ??? --------------------------------------- def body = AbsValue(open-close); def wrb = if body > body[1] and body > body[2] and body > body[3] then 1 else 0; def wrbupper = if wrb > 0 and close > open tby knias - Trading Discussion
Hi, anybody know a study/indicator that can download economic events the moment they scheduled direct on chart, like one for sierra charts or multi charts ??? below is a reference link to the study, basically its plots the arrows whit event name on the chart at event time from ForexFactory calendar. Maybe somebody can do the same for TOS ? Is it possible to import excel data into the TOS cby knias - Trading Discussion