Jump to content
  • 0

How to set a max daily loss in PRT ProOrder, and position sizing


Nickodemus

Question

Hi,

Is there a way to set a max daily loss in automated trading with PRT ProOrder?  i.e. Automate the strategy, but kill it each day if cumulative daily losses hit % of equity.

 

Also, struggling to work out how to set a position size based on % of available equity?

 

Any help would be greatly appreciated - the 'programming' seems very limited in it's functions compared with the likes of Pine. (Or maybe i'm just being ignorant...)

 

Many thanks

Link to comment

3 answers to this question

Recommended Posts

  • 0

Hi Nickodemus,

Yes you can do both with a small amount of code.  You can also limit the amount trades and risk the algo can do in a given period.

I code many algo's and use them on a daily basis so happy to help if you haven't already sort.  It is best to use the PRT community as this is where all the cders reside.  DM me on that and I am happy to share some code.

 

Steve

Link to comment
  • 0
On 08/04/2023 at 19:49, StephenP said:

Hi Nickodemus,

Yes you can do both with a small amount of code.  You can also limit the amount trades and risk the algo can do in a given period.

I code many algo's and use them on a daily basis so happy to help if you haven't already sort.  It is best to use the PRT community as this is where all the cders reside.  DM me on that and I am happy to share some code.

 

Steve

Hi Steve,

Thanks for the tip - I can't figure out how to DM you on here... (historically not a big forum user), but I'd be very grateful for specifics on how to achieve what you're suggesting with the code. I have also now joined the PRT forum (under the same username)

 

Many thanks

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

    • Total Topics
      23,563
    • Total Posts
      96,861
    • Total Members
      44,137
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    1Richard1
    Joined 28/11/23 21:55
  • Posts

    • TradingLounge's Commodity Market Update: Favorable Trading Opportunities in Gold and Silver Persist; We Maintain and Expand Our Positions in These Markets. Uranium Shows Upward Movement in Wave 3, Indicating a Substantial Bullish Trend for Long-Term Investment. Natural Gas Continues Its Downward Trend, While Crude Oil Prices Face Restraints Due to Saudi Arabia's Strategy for Higher Prices. Our Long Trade in Crude Oil is Now in a Promising Position with Reduced Risks. The USD DXY Approaches its 61.8% Retracement Level, Expected to Find Support. Yields Could Have Reached a Peak as TLT Bonds Show an Inverse Low. Video Chapters 00:00 Bitcoin (BTC)  08:40 US Dollar Index, DXY 11:15 TLT Bonds. US Gov Bonds 10 Yr Yields 15:50 Precious Metals: Spot Gold  / US Spot Silver / XGD and Gold Stocks US / ASX 25:19 Base Metals: XME ETF, Iron Ore, Copper. Uranium URA. 31:08 Energy: XLE ETF / Crude Oil / Natural Gas  40:15 End Analyst Peter Mathers TradingLounge™ Australian Financial Services Licence - AFSL 317817 Source: tradinglounge.com  Access Trial here  
    • Because of this, it's wise for traders to thoroughly investigate exchanges before choosing one. I exclusively deal with cryptocurrency exchanges that have declared proof of reserve in the wake of the unfortunate events that saw some go bankrupt and others hack. Because of what I've heard traders say about Bitget and the fact that it met my requirements, I had to start using it right away. Therefore, I'd advise DYOR to choose whatever best meets your needs.
    • The Santa Rally – Christmas Growth in the Stock Market. You may well of heard of the ‘Santa Rally’. It’s a commonly discussed stock market theory. It is the basic concept that the stock markets, particularly the major indices, show positive returns on the run up to Christmas and the New year. Myth or legend? We look at the stats.  As you can see from the below table the FTSE100 rose in price in 12 of the 15 years. That’s 80% of the time. The average difference was 1.95% https://moneysandi.com/the-santa-rally-christmas-growth-in-the-stock-market/ Anyone had any experience of trading this?  #trading #money #trader #investing #investment #crypto #stockmarket #stocks #business #invest #entrepreneur #finance #investor #daytrader #daytrading #trade  #wallstreet #wealth #santarally #finance
×
×
  • Create New...
us