rotational Trading PositionScore - AmiBroker | futures.io
futures.io futures trading


rotational Trading PositionScore
Started: by xxx11 Views / Replies:243 / 9
Last Reply: Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

rotational Trading PositionScore

  #1 (permalink)
Trading Apprentice
Stuttgart
 
Futures Experience: None
Platform: MetaTrader
Favorite Futures: DAX
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

rotational Trading PositionScore

Hello,

I have a problem with my code.

I calculate my performance and would like to trade if it is positive. I tried to code it.
Right now my code, only buys if my performance is positive. But the problem is that now it buys according the alphabet and not ccording to the highest performance.

Could andybody help me with this?

I thank all for help.

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
Stuttgart
 
Futures Experience: None
Platform: MetaTrader
Favorite Futures: DAX
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

I think my thoughts were to complcated. It works.

But I have another question: I buy right now every month ( first trading day of month).

I would like to code that I buy the stocks every month but on the second trading day.

Does anybody knows how I could do this?

I tried the following:


newMonth = Month() != Ref(Month(), -1);
rotate = newMonth AND day() > 1;

But it does not work

Thanks eveyone helping me.

Reply With Quote
 
  #3 (permalink)
Elite Member
Chicago Illinois USA
 
Futures Experience: Advanced
Platform: Ninja Trader
Broker/Data: IB
Favorite Futures: duh hammer!
 
wldman's Avatar
 
Posts: 2,055 since Aug 2011
Thanks: 966 given, 2,571 received

Hey Men...


What trading platform and what language are you coding in? I'm sure the forum has a thread for both. There will be someone that can help, you need to let them find you.
Dan

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Stuttgart
 
Futures Experience: None
Platform: MetaTrader
Favorite Futures: DAX
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

thank you for your reply. I'm using Amibroker and the langugage AFL.

Reply With Quote
 
  #5 (permalink)
Elite Member
Chicago Illinois USA
 
Futures Experience: Advanced
Platform: Ninja Trader
Broker/Data: IB
Favorite Futures: duh hammer!
 
wldman's Avatar
 
Posts: 2,055 since Aug 2011
Thanks: 966 given, 2,571 received

I have not heard of that.

Futures Edge on FIO
I would suggest using the search feature. If you cant find a platform specific thread I'd ask in the "want your ninga trader indicator created for free thread. Hope that helps. Dan

Reply With Quote
 
  #6 (permalink)
Trading Apprentice
Stuttgart
 
Futures Experience: None
Platform: MetaTrader
Favorite Futures: DAX
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

ok thank you, I will try the search feature.

Reply With Quote
 
  #7 (permalink)
Elite Member
Chicago Illinois USA
 
Futures Experience: Advanced
Platform: Ninja Trader
Broker/Data: IB
Favorite Futures: duh hammer!
 
wldman's Avatar
 
Posts: 2,055 since Aug 2011
Thanks: 966 given, 2,571 received

I tagged you...

in to the NT thread thinking maybe someone there could direct you.

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
Stuttgart
 
Futures Experience: None
Platform: MetaTrader
Favorite Futures: DAX
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

ok tahnk you very much!

Reply With Quote
 
  #9 (permalink)
Trading Apprentice
Stuttgart
 
Futures Experience: None
Platform: MetaTrader
Favorite Futures: DAX
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

Hi wldman,

thank you for your answer. What is NT thread? So far I could not find a solution.

Reply With Quote
 
  #10 (permalink)
Trading Apprentice
Stuttgart
 
Futures Experience: None
Platform: MetaTrader
Favorite Futures: DAX
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received


Hello,

with the following code it works that it buys every second trading day.

newMonth = Month() != Ref(Month(), -1);
rotate = Ref( newMonth, -1 );

My problem is now that I would like to be in monthly trading, which means my code rotates monthly and calculates the perfomance from the month before. But in buys on the second trading day with the open price from the second day.

Could somebody please help me?

Reply With Quote

Reply



futures.io > > > > rotational Trading PositionScore

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
rotational trading xxx11 AmiBroker 1 October 26th, 2016 07:57 AM
amibroker - rotational capital xxx11 AmiBroker 1 October 26th, 2016 07:47 AM
rotational trading strategy with MC.NET? jdfagan MultiCharts 1 September 25th, 2012 03:39 PM
Scams: Prediction Point Trading, Hindsight Trading, Market Mover Trading flipper26 Vendors and Product Reviews 5 August 6th, 2012 02:19 AM


All times are GMT -4. The time now is 09:05 PM.

no new posts
Page generated 2017-01-23 in 0.12 seconds with 19 queries on phoenix via your IP 54.161.200.170