renzkarlosantos
renzkarlosantos's avatar

Info

Username:renzkarlosantos
Name:renzkarlosantos
Member since: 12 Sep 2022

About

None

Signature

None

Last Algorithm Comments

@Engulfing Candles:  13 Sep 2022, 18:15


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 [1] for the previous candle and index [2] for the candle before that. If checking the current and previous candles, just use [0] and [1]. 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[0] > Bars.HighPrices[1]), 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) Thank you sir! I will check this out if my brain cells can do it. Thank you so much even just for replying! 

@Engulfing Candles:  13 Sep 2022, 16:47


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!

Last Forum Posts

@PLEASE! Help to create a simple indicator.:  12 Sep 2022, 14:19


renzkarlosantos said:

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!

Something like this in buy setup

@PLEASE! Help to create a simple indicator.:  12 Sep 2022, 14:14


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!

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.

No uploaded.

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.

No uploaded.