gmkenneyy

Info
Username: | gmkenneyy |
Name: | gmkenneyy |
Member since: | 20 Mar 2020 |
About
Signature
Last Algorithm Comments
@kNN-Based Market Prediction Indicator: 02 May 2023, 17:41
Good man!!! - By the way, i'm in I.T too and based in Barcelona. Is it ok if i pick your brain on Forex issues that ChatGPT cant fully address? I wont take up much of your time, i know how busy software architects are.
@kNN-Based Market Prediction Indicator: 02 May 2023, 06:07
Let "ClickAlgo" handle that for you. Not cAlgo
@kNN-Based Market Prediction Indicator: 02 May 2023, 03:38
By the way, your indicator was mentioned on chatGPT based chatbot (the one embedded into Microsoft Edge). This is already helping you advertise your indicator. Its now left for you to harness this rather than shut the door to potential buyers.
@kNN-Based Market Prediction Indicator: 02 May 2023, 03:33
Hello,
I am struggling to find a demo version of this indicator of yours. People need to "try before they buy"
Let cAlgo handle that for you.
Regards
K
@VWAP SMA delta indicator: 20 Mar 2023, 22:12
Hello,
Thanks for uploading this interesting indicator
Something i saw on the 1st line of the OnCalculate event
((Bars.TypicalPrices.Sum(Periods) * Bars.TickVolumes.Sum(Periods)) / Bars.TickVolumes.Sum(Periods)) / Periods;
is the same as
Bars.TypicalPrices.Sum(Periods) / Periods;
@TrendSignal indicator: 20 Mar 2023, 20:00
Hello,
Thanks for all the great indicators (plus code) you uploaded. They've been very useful.
I'm afraid i cant say the same for this very indicator - it shows no signals on the XAUUSD H1 timeframe.
Are you able to look into it?
Regards
K
@AnnA: 19 Mar 2023, 04:17
Hello,
Thanks for uploading this bot. Just a small error that i spotted in the OnPositionsClosed() event
if (InitialQuantity == 1) // check if initial trade size is still at default value
{
InitialQuantity = 1; // increase the initial trade size to 20 for the next trade
}
else
{
InitialQuantity = InitialQuantity *1; // double the lot size for each successive trade that is lost
}
I would code the above if statement as follows
if (InitialQuantity == 1) // check if initial trade size is still at default value
{
InitialQuantity += Symbol.VolumeInUnitsStep;
}
else
{
InitialQuantity *= 2.0; // double the lot size for each successive trade that is lost
}
What do you reckon?
@Hoanh: 17 Mar 2023, 04:57
Thanks for uploading this indicator.
I'm afraid theres a small bug in your code
Change the colour of the Continuos line to Yellow (or any colour other than green) - and the resulting line will show only two colours instead of three.
@+83,345% Profit / Last 2 Years: 17 Mar 2023, 03:57
I backtested your bot using data from 01/01/2022 - 31/12/2022
Made only EUR 286.44 (two hundred and eighty-six euros) in a year.
Is this its expected behavior? A pity i cant upload a screenshot to this thread.
The profit factor is 1.66
Number of trades: 400
Winning trades: 247
Losing trades: 153
I can help improve the winrate of your bot, you only have to ask.
@holy -\(*.*)/- Grail: 17 Mar 2023, 00:18
Cleaner code for this indicator has been developed & uploaded
LWMA CrossOver Signal Indicator | Algorithmic Forex Trading | cTrader Community
@Relative Momentum Index indicator: 20 Dec 2022, 23:41
"Use this indicator as trade zones; for long when indicator value is above level 70; for short when indicator value is below level 30"
I dont not belive this to be correct according to the screen shot YOU provided - i think you meant <30 go long, > 70 go short
@Gold cbot no Loss by> Durrani: 03 Sep 2022, 20:16
Anything multiplied by zero would equal zero
Your formula for volume is a bit flawed "Account.Balance * 0 * InitialVolumePercent" - The zero should be 1
@Finding Tops and Bottons on stock prices: 31 Jul 2022, 22:50
int barSpan = 10;
Bars.HighPrices.Maximum(barSpan);
Bars.LowPrices.Minimum(barSpan);
will also do the job, no need to reinvent the wheel
@KF - TEMA - DEMA - v3: 31 Jul 2022, 22:47
Are you sure about that? - Stochastic is an oscillator, so is the DMS. Tema-Dema is not
@PAC (Price Action Channel): 05 Jun 2022, 02:19
Hello,
Thanks for uploading the source code for your PAC.
1. May i ask what the Red line is? It seems best to use it in conjunction with the PAC you uploaded.
2. What chart timeframe does the PAC work best on. I'm guessing its the H4?
Regards
Kenneth
@LONG TERM INVESTORS GOLD BOT(FREE): 29 Dec 2021, 14:22
I was under the impression the word 'FREE' means 'no money involved'. So why is this bot not free as advertised?
@Hora Específica de la estrategia: 15 Nov 2021, 13:08
How is this useful to anyone?
All it does is place a buy order when a new bar opens. It never places sell orders. There is no logic whatsoever to determine trend direction.
The buy order will then wait for however long it takes to hit either SL or TP.
@MeanReversionOverlayIteration2: 08 Jun 2021, 18:51
También vivo en el centro de BCN. Este indicador suyo no indica nada.
No se puede saber la dirección de la tendencia Micro o la tendencia Macro.
No hay ninguna indicación de dónde ingresar o colocar su stop-loss.
Espero que sepas lo que estás haciendo y cómo comerciar
@Swing Gann Experto: 08 Jun 2021, 16:52
@TraderExperto - i take my hat off to you. You Italians amaze me!!!
To code this indicator is not easy but you managed to achieve this in style !!!
@Swing Gann Experto: 08 Jun 2021, 16:46
@indrakh - Use H4
You still need to combine this indi with others.
It is good for trading Micro-trends(H4 & below).
If you are trading Macro trends (D3 - WK1) then this indi should be used for gauging your entry (and remember, you still need the help of other indi's)
@Trend Master: 08 May 2021, 03:08
The BEST way to show-case what you've got is to allow a demo version to be downloaded and back-tested.
This guy wants you to pay first before testing - seriously?
@Alert Popup Window: 20 Mar 2020, 15:09
Hello Ahmed,
You've done great work here. Spotware should acquire your work and pay you handsomely for this.
It took me awhile to set it up but never the less - Great Work!!!
Kenneth
Last Forum Posts
@Stop C Trader automatically removing my indicators: 10 Nov 2021, 17:21
ClickAlgo said:
One possible cause is below.
.
while (bars.OpenTimes[0] > Bars.OpenTimes[0])
bars.LoadMoreHistory();.
infinite loop perhaps, this will continue to load data and use all the machines resources until the platform freezes, this could be why the cTrader Sentinal removed the offending indicator.
.
I only had a quick look, but consider checking this code to see if it is causing the probem.
Thank you!
I moved that while-loop to the OnBar() routine and used a boolean to ensure it only gets called once. It now works like a dream !!!
Thanks again.
@Problem on indicator performance: 10 Nov 2021, 17:21
PanagiotisCharalampous said:
Hi noppanon,
Please skip the following part of the code during backtesting and let us know if this resolves the issue
while (bars.OpenTimes[0] > Bars.OpenTimes[0]) bars.LoadMoreHistory();
Best Regards,
Panagiotis
Thank you!
I moved that while-loop to the OnBar() routine and used a boolean to ensure it only gets called once. It now works like a dream !!!
Thanks again.
@Custom Indicator use inside cBot not working: 20 Jan 2021, 15:57
Best to use visual studio for cAlgo coding. The free version of it works wonders
@Occasional OnTick() system problem: 20 Jan 2021, 15:51
Why are you triggering simultaneous trades instead of one after the other? - its a recipe for disaster in my opinion.
What i would do is trigger one trade first, then after the close of the next bar, i will check if the market is moving in the direction of my trade before increasing my volume on that trade. This way you have a safety net.
@Can't view output from a different timeframe: 20 Jan 2021, 15:44
In the Calculate event - change the first line to "source_index = bars_source_close.Count - index";
@Hi There How to truncate double type in an exact digit precision.: 06 Jan 2021, 17:05
imrealfighter said:
HI there hope you guys doing well in this 2021 want some help here.
Edit : Problem Solved !!! but welcome to another suggestion and method. Thx.
( From Philippe Leybaert I just edit some )
----------------------
public double RoundDown(this double value, int digits)
{
double factor = Math.Pow(10,digits);return Math.Truncate(value * factor) / factor;
}---------------------
I want to compare double type with double type (which is a product price with product price or product price with some price level) and I found that we could use double.CompareTo() method.but have some problem with that
assume
double a = 1.2345
double b = 1.23456789 if we compare these two on 4 digit precision it will get the equal result right.
so to use double.CompareTo() we need to get b price with an exact digit as aI try to use Math.Round() but it doesn't give what I want Round() medthod it add the value of b up 1.2346 instead of 1.2345
is there a way then?
Thank you.
Rounding double b = 1.23456789 to 4 decimal places will give you 1.2346 - so its correct!
@How to get datetime1, datetime2 on the chart: 06 Jan 2021, 16:54
the actual bar gives you your x-axis (bar.OpenTime [datetime]). The price gives you your y-axis (the bar, Open, high, Low or close)
this.Chart.DrawRectangle("RectBU", pos.EntryTime, pos.EntryPrice, curBar.OpenTime, curBar.Open, this.Bullish_Box_Color);
the line above draws a rectangle from an entry-time & price to a bar open time & price
I hope this helps.
KF