2 line for entry distance stategy

Posted By nabelion Monday, May 24, 2010
Add to Favorites0
Author Message
nabelion
 Posted Monday, May 24, 2010
Junior Member

Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)

Group: Forum Members
Last Active: Tuesday, March 29, 2011
Posts: 8, Visits: 91
24
hi all

i am looking for simple strategy like the one in title ( Orders at Predefined Time Strategy )
link : http://www.actfx.com/Download50073.aspx
but i would like it to continue to buy & sell from the same particular time
with the same price entry distance in the same day.
so if indicator created to place 2 line for entry distance buy & sell will make the strategy easy
i used to work with indicator in metatrader name bat fink to adjust entry time as currency volatility

here is a picture for the 2 entry buy when price reach the upline & sell when price reach low line

in above pics gold 15m, i used to place 2 orders with distance 200 it will be fine with stop & limit

even if there is ranging in the market the end profit will cover it & more.

Breakout Eagle strategy is near to my idea also but i fail in programming to merge between indicator ,variable & procedures.

looking for any programmer attention

thanks in advance

nabelion
 Posted Thursday, May 27, 2010
Junior Member

Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)

Group: Forum Members
Last Active: Tuesday, March 29, 2011
Posts: 8, Visits: 91
24
will ...............................

programming is fantastic Smile  specially when u steal it from ready made strategy & indicator

actualy i take the pivot point manual indicator send by anton , i remove pivot point & keep res,+sup with line
then i download & search for many strategy , breakout eagle strategy was the nearest idea for mine
so i keep copy & past until i reach good resulte exept that i want my strategy to make buy when price
reach the green line & sell when it reach red line not to start from the candle .
it will be also noise to enter the res,+sup prices manual every day & lunch the strategy at time 3:30:00  Sad

i hope if someone will modify it & make it easy please
regards

here is attachment indicator & strategy & test pics & res,sup pivot point indicator

here is test for today on gold 15m

& also test for indicator by metatrader in silver for last 2 days & there wonderfull points

 test pics.GIF (112 views, 89.81 KB)
 pivot pics.GIF (117 views, 26.93 KB)
 Pivot Points Manual.act (150 views, 1.21 KB)
 pivotpnt Strategy11.act (168 views, 2.67 KB)
eMoe
 Posted Wednesday, July 14, 2010
Supreme Being

Supreme Being - (619 reputation)Supreme Being - (619 reputation)Supreme Being - (619 reputation)Supreme Being - (619 reputation)Supreme Being - (619 reputation)Supreme Being - (619 reputation)Supreme Being - (619 reputation)Supreme Being - (619 reputation)Supreme Being - (619 reputation)

Group: Forum Members
Last Active: 2 days ago @ 2:45 AM
Posts: 201, Visits: 299
619
Hi, Nabelion.
The problem seems to be in predefining settings: of R1 and S1 prices. They are very high (they should be nearby current currency value). For example: if you put 1.2815 and 1.2811 it will be right for the chart that has current value about 1.28.


Best regards!
 PPM1_pic.PNG (391 views, 12.71 KB)
nabelion
 Posted Saturday, July 17, 2010
Junior Member

Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)

Group: Forum Members
Last Active: Tuesday, March 29, 2011
Posts: 8, Visits: 91
24
^^^^^^^^^^^

hi emoe

you r right , of course you must change r & s as curruncy or you will never see any line for usd/cad in price 1215 w00t .

the issue is to make full system which can work as metatrader indicator to write two line at target time & lunch r & s automatically

so you can make test for 3 month to check the profit or drowdown of the stratery, this is the point .

also to add some tools like trailing stop & so on .

actually i put gold as greed Cool , it is dangerous for small account .

rezist
 Posted Wednesday, December 08, 2010
Supreme Being

Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)

Group: Forum Members
Last Active: Monday, August 15, 2011
Posts: 63, Visits: 164
191
Hi

I tried to do the same. Look what i've got. I think this should work.
I think the code is self explanatory but if you have questions I can answer
 batfink-indicator.act (110 views, 2.68 KB)
 batfink-strategy.act (117 views, 2.31 KB)
nabelion
 Posted Thursday, January 06, 2011
Junior Member

Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)

Group: Forum Members
Last Active: Tuesday, March 29, 2011
Posts: 8, Visits: 91
24
^^^

hi & thanks for the programing

i get these error

1- charts doesn't contain start candle

2-EXCEPTION
EAccessViolation in TStrategyProcessor
CODE

MESSAGE
Exception at trading strategy "BatFinkStrategy" in routine OnNewCandle at Line:Column 41:6
Reference to undefined object
DETAILS

rezist
 Posted Monday, January 10, 2011
Supreme Being

Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)

Group: Forum Members
Last Active: Monday, August 15, 2011
Posts: 63, Visits: 164
191
Hi,

It looks like you get 1st error because time you enter is not on the chart, so batfink can't be built, and if you have no indicator the strategy won't work. You can change candles timeframe or you can select more candles to be preloaded before strategy starts, so you'll have candle with needed time on the chart.
nabelion
 Posted Friday, March 25, 2011
Junior Member

Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)Junior Member - (24 reputation)

Group: Forum Members
Last Active: Tuesday, March 29, 2011
Posts: 8, Visits: 91
24
dear rezist

can you add a code so that at the beginning of a new day reset everything

and new bat fink lines will draw for the next days for testing the strategy for previous days

regards
rezist
 Posted Monday, March 28, 2011
Supreme Being

Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)Supreme Being - (191 reputation)

Group: Forum Members
Last Active: Monday, August 15, 2011
Posts: 63, Visits: 164
191
Hi, I didn't really understand what you want it to do, but it looks like pivot point indicator can work for you. Try it, if it's not what you want describe your idea in more details and I'll try to do it when I have more time.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top