| 
 PureBytes Links 
Trading Reference Links 
 | 
mohsen,
       Hi! I'd like very much to help you but your code is huge and my
knoledge of Metastock is limitated (poor) and also I know nothing
about "Future" markets.
I think maybe Jose Silva can help you.
He usually do it.
I really hope someone help you.
Best regards,
             Pablo
PD: your english is very well. At least is better than me :)
m> (sorry this is the 3th time sending:P )
m>   Hello Every body.I'm new in your group and very glad to know you
m>   I'm trying to test a system and need some help in doing that
m>   Let's first I describe it for you.
  
m>   Draw this Indicator on your chart (GBPUSD intraday chart.for example 30min) :
  
m>   a1:=If(Hour()=10 AND Minute()=0,1,0);
m>   a2:=If(Hour()=6 AND Minute()=0,1,0);
m>   h11:=If(a1=1,(Ref(HighestSince(1,a2=1,H),-1))+0.0005,0);
m>   l11:=If(a1=1,(Ref(LowestSince(1,a2=1,L),-1))-0.0005,0);
m>   h1:=ValueWhen(1,h11>0,h11);
m>   l1:=ValueWhen(1,l11>0,l11);
m>   h1;l1
  
m>   this indicator calculate the max and min in time between  6 and  10.now we want if the price cross the "h1" we have a Buy order on "h1"  and if cross the "l1" have a Sell order.
m>   Stop loss=70    Take Profit=120
m>   After Buy if Price go up to "hi+40pip" Stop loss become "hi"
m>   and all the positions close in "Hour()=23"
m>   I have made the system like this :
  
m>   Buy Order:
m>   hi:= FmlVar("1_SCB System","H1") ;
m>   lo:= FmlVar("1_SCB System","L1") ;
m>   {cross(h,hi) and ( ValueWhen(1,cross(h,hi),hi)<>(ValueWhen(2,cross(h,hi),hi)))}
m>   H>hi AND ValueWhen(2,Ref((H>hi),-1),hi)<>hi
m>   Order type: Stop
m>   FmlVar("1_SCB System","H1")
  
m>   Sell Order:
m>   hi:= FmlVar("1_SCB System","H1") ;
m>   lo:= FmlVar("1_SCB System","L1") ;
m>   (cross(lo,l) and ( ValueWhen(1,cross(lo,l),lo) <> (ValueWhen(2,cross(lo,l),lo)))) or
m>   hour()=23 or (dayofweek()=5 and hour()=21 and minute()=30) or
m>   if(cross(hi,l) and (highestsince(1,ref(cross(h,hi),-1),h)-hi)>=0.0040,1,0)
  
  
m>   Sell short order:
m>   hi:= FmlVar("1_SCB System","H1") ;
m>   lo:= FmlVar("1_SCB System","L1") ;
m>   {cross(lo,l) and (ValueWhen(1,cross(lo,l),lo))<>(ValueWhen(2,cross(lo,l),lo))}
m>   L<lo AND ValueWhen(2,Ref((lo>L),-1),lo)<>lo
  
m>   Ortder type: Stop
m>   FmlVar("1_SCB System","L1")
  
  
m>   Buy to Cover:
m>   lo:= FmlVar("1_SCB System","L1") ;
m>   ((cross(h,hi)) and ( ValueWhen(1,cross(h,hi),hi)<>(ValueWhen(2,cross(h,hi),hi))) ) or
m>   (if(hour()=23,c,0)) or (if(dayofweek()=5 and hour()=21,c,0)) or
m>   if(cross(h,lo) and (lo-lowestsince(1,ref(cross(lo,l),-1),l))>=0.0040,1,0)
  
  
m>   this was my system and I have some problem with this (these problems  are diffrent with writing in English beacuse English in the main  problem for me )
m>   sel and buy to cover orders must close on "hi" and "lo" but now they are on close of candles and I couldn't fix it.
m>   Thanks and Best Regards
m>   Mohsen
                
m> ---------------------------------
m> Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.
m> [Non-text portions of this message have been removed]
 
m> Yahoo! Groups Links
Pablo Bozzolo
---
Contact info:
Movil: 221 5384617
E-mail: italoarg76@xxxxxxxx
MSN: italoarg76@xxxxxxxxxxx
ICQ: 77207033
------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 
 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |