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


rotational Trading PositionScore
Updated: Views / Replies:399 / 9
Created: by xxx11 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,057 since Aug 2011
Thanks: 966 given, 2,583 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,057 since Aug 2011
Thanks: 966 given, 2,583 received

I have not heard of that.

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,057 since Aug 2011
Thanks: 966 given, 2,583 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)

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May

An overview of volumetric analytical tools w/Sergey Sokolov @ PTMC

Elite only

John Hoagland (TBA)

Elite only

FuturesTrader71 Extended Ask Me Anything (AMA)

Elite only

Pete @ Jigsaw Trading (TBA)

Elite only

John @ No BS Day Trading (TBA)

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

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


All times are GMT -4. The time now is 12:58 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-05-28 in 0.10 seconds with 19 queries on phoenix via your IP 23.20.147.6