2 line for entry distance stategy Expand / Collapse
Author
Message
Posted 5/24/2010 2:59:04 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/29/2011 2:26:16 PM
Posts: 8, Visits: 91
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

Post #1540
Posted 5/27/2010 3:12:04 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/29/2011 2:26:16 PM
Posts: 8, Visits: 91
will ...............................

programming is fantastic   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 

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



  Post Attachments 
test pics.GIF (103 views, 89.81 KB)
pivot pics.GIF (108 views, 26.93 KB)
Pivot Points Manual.act (139 views, 1.21 KB)
pivotpnt Strategy11.act (159 views, 2.67 KB)

Post #1554
Posted 7/14/2010 11:24:11 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 1/27/2012 12:53:25 PM
Posts: 201, Visits: 295
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!

  Post Attachments 
PPM1_pic.PNG (370 views, 12.71 KB)
Post #1765
Posted 7/17/2010 7:39:41 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/29/2011 2:26:16 PM
Posts: 8, Visits: 91
^^^^^^^^^^^

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 .

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 , it is dangerous for small account .

Post #1783
Posted 12/8/2010 6:47:05 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 8/15/2011 9:38:19 AM
Posts: 63, Visits: 164
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

  Post Attachments 
batfink-indicator.act (101 views, 2.68 KB)
batfink-strategy.act (107 views, 2.31 KB)
Post #2442
Posted 1/7/2011 4:33:03 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/29/2011 2:26:16 PM
Posts: 8, Visits: 91
^^^

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

Post #2606
Posted 1/10/2011 8:20:39 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 8/15/2011 9:38:19 AM
Posts: 63, Visits: 164
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.
Post #2619
Posted 3/25/2011 2:46:33 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/29/2011 2:26:16 PM
Posts: 8, Visits: 91
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
Post #2929
Posted 3/28/2011 5:54:10 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 8/15/2011 9:38:19 AM
Posts: 63, Visits: 164
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.
Post #2937
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin

All times are GMT -5:00, Time now is 8:25pm


© 2009 Actforex.com Terms of Use