Rank: Member
Groups: Registered, Registered Users, Unverified Users Joined: 5/1/2012(UTC) Posts: 25 Location: Sherman, Texas
|
{I use this formula for one of my issues in the Symbols section, not trend. Trend would have the "-2", "-1" in formula as usual.} {BUY Condition} BC:=Ref( Stoch(?,?), -1) < ?? AND Stoch(?,?) > ??
OR {This statement used to catch Oversold condition} Ref(Stoch(?,?),-1) < ?? AND Stoch(?,?) > ??;
{Sell Condition - I don't use a secondary Exit parameter - when they start selling it is often a panic, thus TWO Stochs, one for IN, one for Panic:-)} SC:=Ref( Stoch(?,?), -2) > ?? AND Ref(Stoch(?,?),-1) < ??;
{EA Signal plotted one day before trade - trade at Open next day} Trade:=If(BC,1,If(SC,0,PREV)); Cross(Trade,0.1) --------------- In your case I would take one statement at a time, and comment out following Statements. See if that one statement is giving you anything close to what you are looking for. At least, if it doesn't barf, then add another statement, etc.
|