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
  • 0

Apologies for the delay.  I don't really use this.  You can follow finf me on PRT, https://www.prorealcode.com/user/smpaxton/?view=posts

Happy to answer all you questions, I am a power user and tester on PRT and write many bots as well as run a trading group where we use all the PRT functions to screen trades so PRT finds the trades for use so we can trade or let the bots trade for us.

Steve

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
  • image.png

  • Posts

    • Silver Elliott Wave Analysis Function -Counter-Trend Mode - Corrective Structure -Double Zigzag for wave B (circled) Position - Wave (Y) of B Direction - Wave (Y) of B is still in play Details - After violating the last update, we have a new outlook on daily and H4 that better fits the current price action. A lower extension is now expected for Silver. Silver Elliott Wave Analysis: Extended Decline and Bullish Outlook Overview: The decline in Silver that began on May 20th is continuing to extend lower and is expected to persist before finding significant support. Despite this downturn, the year-long trend remains bullish and is anticipated to resume once this corrective phase concludes. The emerging chart pattern suggests a further decline towards $27 in the coming days or weeks.   Daily Chart Analysis: Two key observations can be made on the daily chart: Bullish Yearly Trend: The trend for this year has been bullish, leading to a breakout from a prior 13-month sideways price action. This indicates strong underlying bullish momentum. Corrective Decline: The current decline from April 19th, 2024, is identified as corrective. Therefore, the expectation is that the bullish trend will resume once this corrective structure concludes.   To determine when the corrective structure will finish, it’s important to identify the emerging pattern. Early analysis suggests that the price might be forming a double zigzag Elliott wave corrective structure, labeled as waves (W)-(X)-(Y). Wave (W) and wave (X) completed on June 13th and June 21st, respectively. The price is now breaking down in wave (Y), which could extend to $27 or lower. Meanwhile, the year-long impulse is labeled as wave A (circled) in the primary degree, and the double zigzag pullback should complete the corresponding primary degree wave B (circled). Following this, wave (C) is expected to push the price to a fresh 2024 high.   H4 Chart Analysis: The H4 chart provides a detailed view of the sub-waves within the double zigzag structure. The price is currently in wave A of (Y), which is expected to be followed by a minor corrective bounce for wave B. Afterward, the price should continue lower for wave C, completing wave (Y) of B (circled). This pattern aligns with the broader expectation of a corrective phase before the resumption of the bullish trend.   Summary: Current Decline: Silver’s decline from May 20th is expected to continue towards $27 before finding support. Bullish Yearly Trend: Despite the current downturn, the overall trend for the year remains bullish. Corrective Structure: The decline is forming a double zigzag Elliott wave corrective structure. Daily Chart Insight: The trend is expected to resume higher after the completion of the current wave B. H4 Chart Detail: Sub-waves show a minor bounce expected before a further decline to complete wave (Y) of B. In conclusion, while Silver is currently experiencing a corrective decline, the long-term bullish trend is anticipated to resume once this phase concludes. Traders should watch for a potential bottom around $27 and prepare for a renewed bullish impulse towards new highs in 2024. Technical Analyst : Sanmi Adeagbo Source : Tradinglounge.com get trial here!  
    • Honestly, L2 scaling solution projects are now increasing by the day. Should we worry about that? Absolutely, not. Why? Because it reduce overdependence on one solution and increase adoption. Also, focusing on different aspect of scaling is a good thing; for instance, Blast focus on staking ETH and stablecoin reinforces security on their network and Ethereum mainnet which increases users' confidence in blockchain and crypto.
    • Well, price performances are always a reflection of either of 2 factors: 1. constant hype by influencers/KOLs 2. whale trading activities 3. imrovement of tech or expansion of utility/usecase to accommodate needs of users For BGB, I think it's rather the last 2 basically from the recent expansion of its ecosystem where the token is used for several high-end events like launchpad, poolx etc.
×
×
  • Create New...
us