FXCM Forex Trading

Line Cross Strategy

Strategies are published here.

Moderator: admin

Line Cross Strategy

Postby Apprentice » Tue Jun 12, 2012 4:44 am

Line Cross Strategy.png

With this strategy, you can define up to 4 lines.
And trading action, that the TS should take, on Cross Over / Under of this lines.
Line Cross Strategy.lua
(20.83 KiB) Downloaded 1156 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 15139
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Line Cross Strategy

Postby lidangsheng@yahoo.cn » Wed Jun 13, 2012 12:24 am

Thank you for your help.
Request on Cross Over / Under of this lines The multiplication of the number of automated trading For example:1*2*4*8*16....

The strategy has been set (strategy.parameters:addInteger("Amount", "Trade Amount in Lots", "", 1, 1, 100);)
If the first time to buy Amount 1.Close. Second new sell Amount Is the first to buy the number of times .The third Close after the The new opening is the second number 2 times.
This has been doubled continuous ....
How to set and the style of writing.
For example:Allow Trade Amount 1*2*4*8*16........

The petitions understanding the expression of my English is not good .
Thank you for your help.
Salute
lidangsheng@yahoo.cn
 
Posts: 18
Joined: Wed Mar 28, 2012 9:20 pm

Re: Line Cross Strategy

Postby lidangsheng@yahoo.cn » Wed Jul 18, 2012 11:58 pm

Request the development of MP4 expert consultants?Thank.
lidangsheng@yahoo.cn
 
Posts: 18
Joined: Wed Mar 28, 2012 9:20 pm

Re: Line Cross Strategy

Postby Knowledgeseekers » Thu Jul 26, 2012 6:55 am

this is a very good instrument ,However, if each line is able to select different time frame would be more perfect!
I tried but can not be performed using two line cross strategy.
How do I overcome this situation!
thanks!
Knowledgeseekers
 
Posts: 2
Joined: Wed Jul 25, 2012 7:58 am

Re: Line Cross Strategy

Postby lidangsheng@yahoo.cn » Thu Jul 26, 2012 10:46 am

I practice that pyramid. Training asc feasibility of high . I have been studying this content , but has not been answered . Time to prove everything . The direction of the trend is finally understood . Profitable extremely high . Please forgive my poor English . Lua programmer can e - mail I jointly argument . :lol: :lol: :lol:
lidangsheng@yahoo.cn
 
Posts: 18
Joined: Wed Mar 28, 2012 9:20 pm

Re: Line Cross Strategy

Postby lidangsheng@yahoo.cn » Sun Aug 05, 2012 2:02 am

Hello , the administrator request to change this strategy .

I started the test .This is a good tool .Specified time to the specified entry point .As specified horizontal value daily 00:00:00 's closing price .

For example:TF:m1.Trading hours:daily Trading hours 20:30:00 closing price Offer value as a horizontal line .

dangsheng LI
lidangsheng@yahoo.cn
 
Posts: 18
Joined: Wed Mar 28, 2012 9:20 pm

Re: Line Cross Strategy

Postby luigipg » Wed Oct 10, 2012 11:06 am

Hi everyone, I would be happy if someone could add to this strategy the "magic number" so that it can run multiple times with the same currency pair. Can anyone do it? I believe it's that simple. Thanks to all also for your work. Luigi!!!
luigipg
 
Posts: 69
Joined: Sun May 23, 2010 8:01 am

Re: Line Cross Strategy

Postby Apprentice » Wed Oct 10, 2012 11:25 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 15139
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Line Cross Strategy

Postby 123lundy » Tue Dec 09, 2014 8:36 pm

Hello, Please add an action "cancel all orders this symbol". This is useful in so many ways. Please make sure it cancels all orders for that symbol even ones it didn't initiate, . I can use this as an assist for my manual trading... and also for orders placed by the strategy. much appreciated.

Also I'm wondering if the Buy and Sell are market orders and if so, does the settings in trade settings regarding the slippage amount in affect?

Great tool, thanks.
123lundy
 
Posts: 5
Joined: Tue Dec 02, 2014 5:02 am

Re: Line Cross Strategy

Postby MC. Trend Trader » Mon Jun 27, 2016 7:47 am

Hi,

Is it possibble to add "Custom Identifier) to this Strategy?

Best Regards
MC. Trend Trader
 
Posts: 26
Joined: Sun Jul 05, 2015 12:36 am

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 1 guest