Hier meine Replica, einzig die Farberkennung von dem mittleren Band stimmt noch nicht, da sie aber keine Rolle bei den Setups spielt, bin ich zu faul da noch zu ermitteln:
IF (value2 >= value1) THEN
BEGIN
SETPLOTCOLOR (2, DnColor) ;
SETPLOTCOLOR (3, DnColor) ;
END ELSE
BEGIN
SETPLOTCOLOR (2, UpColor) ;
SETPLOTCOLOR (3, UpColor) ;
END ;
Plot4 (value4, "Thick");
IF (value4 >= value3) THEN
BEGIN
SETPLOTCOLOR (4, DnColor) ;
END ELSE
BEGIN
SETPLOTCOLOR (4, UpColor) ;
END ;
SetPlotWidth(4, 4);
</pre>
und Paintbar
<pre>
[LegacyColorValue = true];
{ VWAP MA }
input:
Price(AvgPrice),length(25),upColor(cyan),dnColor(red);
vars:
it(0);
it = VWAP_SMA(Price,length);
if( L > it ) then
begin
PlotPB(High, Low, Open, Close, "SR-Line", Green );
end
else if( H < it ) then
begin
PlotPB(High, Low, Open, Close, "SR-Line", Red );
end
else
begin
PlotPB(High, Low, Open, Close, "SR-Line", White );
end;