|Member since:||17 Jul 2022|
AUDCHF, AUDJPY, AUDUSD, CADJPY, EURAUD, EURCHF, EURUSD, GBPAUD, GBPNZD
Full-time academic, part-time trader and technical analyst. Experienced programmer, educated in financial mathematics and econophysics. Always here to help!
Full-time academic, part-time trader and technical analyst.
Last Algorithm Comments
@Engulfing Candles: 13 Sep 2022, 18:05
Hello, is it possible for you guys to help me to create an indicator/signal for the following: Timeframe: 5 mins FOR BUY -a "green" candle will close above the high of a previous "red" candle FOR SELL -a "red candle" will close below the low of a previous "green" candle Kindly help. Let me know if you need any clarifications. Thanks a lot! - renzkarlosantos Hi buddy, Thanks for checking out my indicator first of all. This would be quite simple to do. The high prices of the market are represented by either MarketSeries.High (obsolete) or Bars.HighPrices - both of which are DataSeries. Replace 'High' with 'Low' in the previous and you have your low prices, 'Close' for close prices, 'Open' for open prices. A bullish candle (green) closes above its open; a bearish candle (red) below. Use the DataSeries mentioned above to check if a previous candle is green or red by indexing the previous bar inside your Calculate() method - you could create an enum or bool to store whether it is bullish or bearish. Depending on whether you want it to repaint, you'll need to know the previous two candles. To check the previous two candle, use index  for the previous candle and index  for the candle before that. If checking the current and previous candles, just use  and . Then you check the prices. If previous is red and current is green and closes above the high price of the previous (i.e. Bars.ClosePrices > Bars.HighPrices), or vice versa, and then you draw the signal on your chart (you can use code from this indicator if you wish). You can also ensure that a signal is not repeated by storing the last signal in a variable and checking whether the last signal is the same as the next. I refuse to write code for people, unless it's something I intend to create myself as it's part of the learning process. If you're struggling to learn cTrader/cAlgo, just learn C# or Java - even at a basic/intermediate level - and the rest will follow. Hope that helps. Kind regards, o6h58zs (just one guy, lol)
@Multi Timeframe Stochastic Oscillator: 31 Aug 2022, 08:55
Very elegant solution for the multiple timeframes dadi, I've been trying to find a way to do this. Nice work! ???? Also, regarding strategies, I often use the crossovers between the K% and D% lines as entry confirmations. When in an uptrend, I wait for the K% to crossover the D% before entering a trade, and the reverse in a downtrend. I also use a volume indicator (MFI) or oscillator (RSI, etc.) to confirm the momentum in that direction (above or below the 50 line on each). I never use overbought and oversold areas and in my opinion, it is unwise to - like the indicators mentioned above, the stochastic is a momentum indicator, and a market can remain overbought or oversold for a long time, depending on the period you're using. Hope that helps. ☺
@ATR Stops: 08 Aug 2022, 16:32
There appears to be an issue with the reporting of the values from the indicator. See my post here. Would you be able to help? ☺
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.