Typ : System, Name : One Night Stand
{—— Long Entry ——}
if Average(C,10) > Average (C,40) and DayOfWeek(date)=4
Then Buy Next Bar at Highest(H,4) Stop;
{—— Long Exit ——}
if MarketPosition=1
Then ExitLong At Market;
{—- Short Entry ——}
if Average(C,10) < Average (C,40) and DayOfWeek(date)=4
Then Sell Next Bar at Lowest(L,8) Stop;
{—— Short Exit ——}
if MarketPosition=-1
Then ExitShort At Market
{ Money Management Amount : $ 1000 }
{ Close all trades at end of day session }