PureBytes Links
Trading Reference Links
|
Hello Every body.I'm new in your group and very glad to know you
I'm trying to test a system and need some help in doing that
Let's first I describe it for you.
Draw this Indicator on your chart (GBPUSD intraday chart.for example 30min) :
a1:=If(Hour()=10 AND Minute()=0,1,0);
a2:=If(Hour()=6 AND Minute()=0,1,0);
h11:=If(a1=1,(Ref(HighestSince(1,a2=1,H),-1))+0.0005,0);
l11:=If(a1=1,(Ref(LowestSince(1,a2=1,L),-1))-0.0005,0);
h1:=ValueWhen(1,h11>0,h11);
l1:=ValueWhen(1,l11>0,l11);
h1;l1
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.
Stop loss=70 Take Profit=120
After Buy if Price go up to "hi+40pip" Stop loss become "hi"
and all the positions close in "Hour()=23"
I have made the system like this :
Buy Order:
hi:= FmlVar("1_SCB System","H1") ;
lo:= FmlVar("1_SCB System","L1") ;
{cross(h,hi) and ( ValueWhen(1,cross(h,hi),hi)<>(ValueWhen(2,cross(h,hi),hi)))}
H>hi AND ValueWhen(2,Ref((H>hi),-1),hi)<>hi
Order type: Stop
FmlVar("1_SCB System","H1")
Sell Order:
hi:= FmlVar("1_SCB System","H1") ;
lo:= FmlVar("1_SCB System","L1") ;
(cross(lo,l) and ( ValueWhen(1,cross(lo,l),lo) <> (ValueWhen(2,cross(lo,l),lo)))) or
hour()=23 or (dayofweek()=5 and hour()=21 and minute()=30) or
if(cross(hi,l) and (highestsince(1,ref(cross(h,hi),-1),h)-hi)>=0.0040,1,0)
Sell short order:
hi:= FmlVar("1_SCB System","H1") ;
lo:= FmlVar("1_SCB System","L1") ;
{cross(lo,l) and (ValueWhen(1,cross(lo,l),lo))<>(ValueWhen(2,cross(lo,l),lo))}
L<lo AND ValueWhen(2,Ref((lo>L),-1),lo)<>lo
Ortder type: Stop
FmlVar("1_SCB System","L1")
Buy to Cover:
lo:= FmlVar("1_SCB System","L1") ;
((cross(h,hi)) and ( ValueWhen(1,cross(h,hi),hi)<>(ValueWhen(2,cross(h,hi),hi))) ) or
(if(hour()=23,c,0)) or (if(dayofweek()=5 and hour()=21,c,0)) or
if(cross(h,lo) and (lo-lowestsince(1,ref(cross(lo,l),-1),l))>=0.0040,1,0)
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 )
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.
Thanks and Best Regards
Mohsen
---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/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/
|