{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":615397718,"defaultBranch":"main","name":"Tradingalgos","ownerLogin":"RPNATION1","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-03-17T15:46:28.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/70676821?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1679101068.0","currentOid":""},"activityList":{"items":[{"before":"a997d07ee651d86331987c9d79f4ba4dda44bb15","after":"06742d62a03c16061ce90ecfb02fa0e83932f261","ref":"refs/heads/main","pushedAt":"2023-03-18T00:02:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RPNATION1","name":null,"path":"/RPNATION1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/70676821?s=80&v=4"},"commit":{"message":"Rename BTC Breakout Short Selling with Hedge to BTCBreakoutShortHedge.pine\n\nThis TradingView Pine Script is a strategy for trading Bitcoin (BTC) based on breakouts and short selling, with a hedging component. The key features of this strategy are:\r\n\r\n Input parameters: The script takes several input parameters, including ATR Length, Breakout Lookback Length, Hedge Ratio, Stop Loss Multiplier (ATR), and Take Profit Multiplier (ATR).\r\n\r\n Average True Range (ATR): The script calculates the ATR using the specified ATR Length.\r\n\r\n Breakout identification: The script identifies breakouts by comparing the close price to the lowest low in the given Breakout Lookback Length.\r\n\r\n Entry conditions: A short position is opened when a breakout is detected.\r\n\r\n Stop Loss and Take Profit levels: The script calculates stop loss and take profit levels based on the ATR and the specified multipliers.\r\n\r\n Strategy execution: The script enters a short position when the entry condition is met and sets the stop loss and take profit levels accordingly.\r\n\r\n Hedging position: The script also enters a long position (hedge) when the short position is opened, using the specified Hedge Ratio to determine the size of the long position relative to the short position.","shortMessageHtmlLink":"Rename BTC Breakout Short Selling with Hedge to BTCBreakoutShortHedge…"}},{"before":"3e2b92dbb35687b8f9ca086076e1983ab5cdf2ac","after":"a997d07ee651d86331987c9d79f4ba4dda44bb15","ref":"refs/heads/main","pushedAt":"2023-03-17T23:00:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RPNATION1","name":null,"path":"/RPNATION1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/70676821?s=80&v=4"},"commit":{"message":"Create GridHedgingExample.mq4\n\n//+------------------------------------------------------------------+\r\n//| GridHedgingExample.mq4 |\r\n//| Copyright 2023, Your Name |\r\n//| your@email.com |\r\n//+------------------------------------------------------------------+\r\n\r\nThis Expert Advisor implements a simple grid-based hedging strategy for MetaTrader 4. The script aims to maintain a balance between long and short positions, opening new orders if they don't already exist. It uses user-defined parameters for take profit, stop loss, lot size, magic number, and grid spacing.\r\n\r\nKey features:\r\n- Opens long and short positions simultaneously to create a hedging strategy.\r\n- User-defined take profit, stop loss, lot size, magic number, and grid spacing.\r\n- Checks for existing long and short positions before opening new orders.\r\n\r\nUsage:\r\n1. Copy the GridHedgingExample.mq4 file into your MetaTrader 4's \"Experts\" folder.\r\n2. Attach the Expert Advisor to the desired chart in MetaTrader 4.\r\n3. Adjust the parameters (TakeProfit, StopLoss, LotSize, MagicNumber, GridSpacing) to fit your trading goals and risk tolerance.\r\n\r\nPlease note that this is a basic example of a grid-based hedging strategy and might require further optimization and adjustments to fit your specific trading goals and risk tolerance. Use this code at your own risk and consult with a financial advisor before making any investment decisions.\r\n\r\n//+------------------------------------------------------------------+","shortMessageHtmlLink":"Create GridHedgingExample.mq4"}},{"before":"2df0876a37a435e9a9b03c9dccb7cc664a0a4ad3","after":"3e2b92dbb35687b8f9ca086076e1983ab5cdf2ac","ref":"refs/heads/main","pushedAt":"2023-03-17T16:09:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RPNATION1","name":null,"path":"/RPNATION1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/70676821?s=80&v=4"},"commit":{"message":"Create AlligatorEA.mq5\n\nThis repository contains an Expert Advisor (EA) for MetaTrader 5, implementing a high-risk trading strategy for the EUR/USD currency pair based on the Williams Alligator indicator. The EA uses the alignment of the Alligator's three components (Jaw, Teeth, and Lips) to generate buy or sell signals. When the Alligator's Jaw is above the Teeth, and the Teeth are above the Lips, the EA generates a buy signal. Conversely, when the Jaw is below the Teeth, and the Teeth are below the Lips, the EA generates a sell signal.\r\n\r\nTo manage the risk, a stop loss level is implemented, determined by a multiplier applied to the difference between the Alligator's Jaw and Lips values. The stop loss multiplier can be adjusted in the EA's input parameters to modify the risk level according to the user's preferences. However, it's essential to note that this strategy is considered high-risk, and proper testing in a demo account is highly recommended before using it in a live trading environment.\r\n\r\nThis repository contains the following files:\r\n\r\n AlligatorEA.mq5: The main Expert Advisor source code file.\r\n README.md: The file you are currently reading, providing an overview of the repository and its contents.\r\n\r\nPlease note that the code provided in this repository is for educational purposes only and should not be considered as financial advice. Trading with this EA or any other trading strategy carries risks, and users should exercise caution and perform their own research before using the code in a live trading environment. The author of this repository is not responsible for any losses incurred as a result of using this code.","shortMessageHtmlLink":"Create AlligatorEA.mq5"}},{"before":"15ea4501f48ce3c44c41037d1d1105493b530351","after":"2df0876a37a435e9a9b03c9dccb7cc664a0a4ad3","ref":"refs/heads/main","pushedAt":"2023-03-17T16:00:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RPNATION1","name":null,"path":"/RPNATION1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/70676821?s=80&v=4"},"commit":{"message":"Create BTC Breakout Short Selling with Hedge\n\n# BTC Breakout Short Selling with Hedge\r\n\r\nThis is a short selling strategy for Bitcoin (BTC) that identifies potential breakouts and hedges the position to reduce risk. The algorithm uses the Average True Range (ATR) as a volatility indicator and the lowest low of a specified lookback period to identify breakout conditions.\r\n\r\n## Parameters\r\n\r\n- ATR Length: The number of periods used for calculating the Average True Range (ATR).\r\n- Breakout Lookback Length: The number of periods to look back for identifying the lowest low price.\r\n- Hedge Ratio: The ratio of the hedge position size compared to the main short position size.\r\n- Stop Loss Multiplier (ATR): The multiplier for the ATR to set the stop loss level.\r\n- Take Profit Multiplier (ATR): The multiplier for the ATR to set the take profit level.\r\n\r\n## Strategy Logic\r\n\r\n1. Calculate the ATR using the specified ATR Length.\r\n2. Identify the lowest low price over the Breakout Lookback Length.\r\n3. If the close price is lower than the lowest low, it's considered a breakout, and a short position is opened.\r\n4. The stop loss and take profit levels are calculated based on the ATR multipliers.\r\n5. If a breakout occurs, a hedge position is opened simultaneously, with a position size determined by the Hedge Ratio.\r\n\r\nThis strategy is designed for the TradingView platform using Pine Script version 4.","shortMessageHtmlLink":"Create BTC Breakout Short Selling with Hedge"}},{"before":"072584e6c594bf77ad3c4d745003dbabbb2222bf","after":"15ea4501f48ce3c44c41037d1d1105493b530351","ref":"refs/heads/main","pushedAt":"2023-03-17T15:53:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RPNATION1","name":null,"path":"/RPNATION1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/70676821?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"53a4141c95ef683145c96b63aa74afd975a2dae8","after":"072584e6c594bf77ad3c4d745003dbabbb2222bf","ref":"refs/heads/main","pushedAt":"2023-03-17T15:47:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RPNATION1","name":null,"path":"/RPNATION1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/70676821?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":null,"after":"53a4141c95ef683145c96b63aa74afd975a2dae8","ref":"refs/heads/main","pushedAt":"2023-03-17T15:46:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"RPNATION1","name":null,"path":"/RPNATION1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/70676821?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADBgtY1wA","startCursor":null,"endCursor":null}},"title":"Activity · RPNATION1/Tradingalgos"}