| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #409 | ||
![]() | Re: Volume Splitter | ||
| |
|
| | #410 | ||
![]() | Re: Volume Splitter thanks for sharing your works | ||
| |
|
| | #411 | ||
![]() | Re: Volume Splitter Quote:
| ||
| |
|
| | #412 | ||
![]() | Re: Volume Splitter Quote:
I was wondering if you could add to your VolumeSplitter a reset to zero at the morning open (09:30 est) - or allow it to be at adjustable times. Code: inputs:
Desc("AddText"),
UpColor(darkgreen),
DownColor(red),
DeltaBar(1),
MaxBlock(9999),
MinBlock(0),
ResetDeltaEachBar(0);
variables:
MyVol(0),
Block(0),
color(yellow),
intrabarpersist MyCurrentBar(0),
intrabarpersist VolumeAtBid(0),
intrabarpersist VolumeAtAsk(0),
intrabarpersist BAVolRatio(0),
intrabarpersist VolTmp(0),
intrabarpersist Delta (0),
intrabarpersist DeltaH (0),
intrabarpersist DeltaL (0),
intrabarpersist DeltaO (0);
if LastBarOnChart then begin
MyVol = Iff(BarType < 2, Ticks, Volume);
if CurrentBar > MyCurrentBar then begin
VolumeAtBid = 0;
VolumeAtAsk = 0;
BAVolRatio = 0;
VolTmp = 0;
MyCurrentBar = CurrentBar;
if ResetDeltaEachbar = 1 then Delta =0;
DeltaO = Delta;
DeltaH = Delta;
DeltaL = Delta;
end;
Block = Myvol - VolTmp;
if (Block >= MinBlock) and (Block <= MaxBlock) then
if Close <= InsideBid then
Delta = Delta - MyVol + VolTmp else
if Close >= InsideAsk then
Delta = Delta + MyVol - VolTmp ;
VolTmp = MyVol ;
end;
DeltaH = maxlist(DeltaH, Delta);
DeltaL = minlist(DeltaL, Delta);
if Delta <= 0 then color = DownColor else
color = UpColor;
plot1(DeltaO, "DO");
Plot2(DeltaH, "DH");
Plot3(DeltaL, "DL");
plot4(Delta, "DC"); Thank you very much in advance - these indicators have increased my success in the markets! | ||
| |
|
| | #413 | ||
![]() | Re: Volume Splitter Quote:
as long as you open it before market will open it will not run any data and start calculate all variables at "0" in case it is still your wish place something like this in the code Code: inputs: ResetTime ( 0530 ); if t = ResetTime then begin //the 0530 is an example replace it by the future's closing-time - the time the last bar of that session will close DeltaO =0; DeltaH = 0; DeltaL = 0; Delta = 0; VolumeAtBid = 0; VolumeAtAsk = 0; BAVolRatio = 0; VolTmp = 0; end; | ||
| |
|
| The Following User Says Thank You to flyingdutchmen For This Useful Post: | ||
RickAce (07-02-2009) | ||
| | #414 | ||
![]() | Re: Volume Splitter can someone confirm this I have been a TS customer for 4 years( not anymore ) so a few warning about TS Datas: - If you trade futures, Implied prices sizes on DOM and prints in T§S are missing. Depending on the market, it can be half the prints... -bid/ask datas( important for HF systems ) are not real time . It's just a snapshot at every tick. | ||
| |
|
| The Following User Says Thank You to flyingdutchmen For This Useful Post: | ||
RickAce (07-02-2009) | ||
| | #415 | ||
![]() | Re: Volume Splitter MOST of the data providers supply quotes in snapshots. You can check the fine prints in your service contract for detail. | ||
| |
|
| | #416 | ||
![]() | Re: Volume Splitter well ok, if it suits the quotes as well maybe i am untill today i have not been able to customize any indicator that shows correct t&s data it indeed looks like a snapshot using skripts with commands like insidebid/insideask wenn using upticks/downticks i am sure the information is an "average" only as i see in my T&S window that within a single tick there could be over 10 different orders at mixed bid/ask just wondering if you guys experience the same, if so this all would be flawed | ||
| |
|
![]() |
| Tags |
| eot, volume splitter |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Retest on Lower Volume with Volume Gradient | walterw | Technical Analysis | 3 | 04-16-2009 01:10 AM |
| NYSE Up Volume($UVOL)/Down Volume ($DVOL) Comparison | MC | Market Internals | 23 | 02-09-2009 10:18 AM |