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

[no subject]


  • Highest: = max(<FONT ----- Original Message ----- <DIV >From: lseldin To: <A title=Metastockusers@xxxxxxxxxxxxxxx href="">Metastockusers@xxxxxxxxxxxxxxx Sent: Wednesday, February 11, 2004 22:40 PM Subject: [Metastockusers] Help with WriteIF and Expert I am having a problem with my Commentary on an Expert that I have.The Enter Long and Enter Short work well. **** However, my Exit Long and Exit Short are not working well.The idea is to go long when close is above all 3 moving averagesand to go short when close is less than all 3 moving averages.Also to Exit Long any position, when these conditions are not met. Meaning if I am in a long position and the moving average goes below one of these MA, then exit.Also to Exit Short any position, when these conditions are not met. Meaning if I am in a short position and the moving average goes above one of these MA, then exit.Writeif(C>Max(Max(Mov(C,50,S),Mov(C,100,E)), Mov(C,150,E)),"Enter Long. ")\Writeif(C<Min(Min(Mov(C,50,S),Mov(C,100,E)), Mov(C,150,E)),"Enter Short. ")\**** These are the 2 problem statements:Writeif(C<Max(Max(Mov(C,50,S),Mov(C,100,E)), Mov(C,150,E)),"Exit Long. ")\Writeif(C>Min(Min(Mov(C,50,S),Mov(C,100,E)), Mov(C,150,E)),"Exit Short. ")\Thanks much,<A href="">larryTAKOUT@xxxxxxxxxx
  • M: =

PureBytes Links

Trading Reference Links






Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/ 
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.