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

Confluence as an exit or SAR



PureBytes Links

Trading Reference Links

I want to get in on the trend check TaFast or TAslow.  But whenever the
confulence exits I then get a new entry based on the TA.  How do I limit the
intial entry?

{Setup  EZ8z's-- Three time periods, Data1,2&3 <20min,68min, 205min> on same
chart (Different colors).  
Why do I have Data 3? Makes the breakouts even more obvious and
Allows you to see if the movemnet is out of range in longer time periods. 
Use Tastoch as a trend indicator on the Data2.  Get in on the trend. and try
this <confluence> as a reversal mechanism.  I tried the chop function but too
many zero's to log function errors??} 

Input:price(c),harmonic(10),avgLen(20);
var: mp(0);
value1=confluence(price,harmonic);
mp=marketposition;

IF Time >= 0720{Bond Session Sess1StartTime} AND Time <= Sess1EndTime then
begin

IF TAFastK(AVGLEN, 14)of data2 > TAFastD(AVGLEN, 7)of data2 then
Buy("UP") at market;

IF TAFastK(AVGLEN, 14)of data2 < TAFastD(AVGLEN, 7)of data2 then
Sell("DN") at market; 
end;
{this should just get me in on the opening trend, 
then just react to this "confluence" function }

If mp<>0 then begin

If Value1 >= 8 then Sell ("SAR+8") L[1] stop;
{try down chandelier here}

This exits only. need to execute one more contract size to reverse?

If Value1 <= -8 then Buy ("SAR-8") H[1] stop;
{ try up chandelier here}
end;