rotational Trading PositionScore - futures io
futures io



rotational Trading PositionScore


Discussion in Platforms and Indicators

Updated
    1. trending_up 1,320 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 9 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

rotational Trading PositionScore

(login for full post details)
  #1 (permalink)
xxx11
Stuttgart
 
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

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

Can you help answer these questions
from other members on futures io?
Trading floor pivot levels
Traders Hideout
Multichart NET set signal parameters different than the …
MultiCharts
Needing harmonic patterns indicator
TradeStation
Denali Data?
Sierra Chart
Anybody uses Bookmap with Tradestation?
TradeStation
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
77 thanks
Spoo-nalysis ES e-mini futures S&P 500
68 thanks
I finally blew up an account
60 thanks
FIO Journal Challenge - April 2021 w/Jigsaw Trading
38 thanks
The tiyfTradePlanFactory indicator
21 thanks
 
(login for full post details)
  #2 (permalink)
xxx11
Stuttgart
 
 
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
 
(login for full post details)
  #3 (permalink)
 wldman 
Market Wizard
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
 
wldman's Avatar
 
Posts: 3,341 since Aug 2011
Thanks: 1,978 given, 8,859 received


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

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #4 (permalink)
xxx11
Stuttgart
 
 
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
 
(login for full post details)
  #5 (permalink)
 wldman 
Market Wizard
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
 
wldman's Avatar
 
Posts: 3,341 since Aug 2011
Thanks: 1,978 given, 8,859 received

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

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #6 (permalink)
xxx11
Stuttgart
 
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

ok thank you, I will try the search feature.

Reply With Quote
 
(login for full post details)
  #7 (permalink)
 wldman 
Market Wizard
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
 
wldman's Avatar
 
Posts: 3,341 since Aug 2011
Thanks: 1,978 given, 8,859 received

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

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #8 (permalink)
xxx11
Stuttgart
 
 
Posts: 9 since Oct 2016
Thanks: 0 given, 0 received

ok tahnk you very much!

Reply With Quote
 
(login for full post details)
  #9 (permalink)
xxx11
Stuttgart
 
 
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
 
(login for full post details)
  #10 (permalink)
xxx11
Stuttgart
 
 
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


futures io Trading Community Platforms and Indicators > rotational Trading PositionScore


Last Updated on November 21, 2016


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing

The Cold Hard Truth: Maybe I Am Not Good Enough w/Chris Gray @ Earn2Trade

Elite only

HIRO Indicator by Spotgamma in Bookmap w/Brent Kochuba @ SpotGamma

Elite only

NEW BlackBird Features + FOREX Support w/Jeremy Tang @ SharkIndicators

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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