Source: https://fxcodebase.com/code/viewtopic.php?f=38&t=70327
Forum: 38 · Topic 70327 · 5 post(s)
Apprentice · Tue Aug 25, 2020 5:11 am

Based on request. viewtopic.php?f=27&t=70293
abedwd · Tue Jan 09, 2024 4:53 am
Hi,
I used the “SUPERTREND” indicator in this SuperTrendEA topic to create my own specific EA using ChatGPT. I copied the code, compiled it successfully and it gave no errors and no warnings. But when I use it in the strategy tester it doesnt take any trades.
Can you please review it and correct the code.
Many Thanks in advance.
Apprentice · Wed Jan 10, 2024 7:12 am
We have added your request to the development list. Development reference 39
abedwd · Thu Jan 11, 2024 3:50 am
Apprentice wrote: We have added your request to the development list. Development reference 39
Thanks Apprentice.
Dont know if this will help but I gave the ffg instructions to ChatGPT:
The expert advisor should then use this “supertrend” indicator to identify bullish and bearish trend set-ups by using the TrendUp and TrendDown functions, respectively. To open a buy order or long position, the supertrend indicator should be in the TrendUp phase. To open a sell order or short position, the supertrend indicator should be in the TrendDown phase. When a bullish candlestick closes and it results in the supertrend changing to the TrendUp phase, a buy order should be opened. When a bearish candlestick closes and it results in the supertrend changing to the TrendDown phase, a sell order should be opened.
The expert advisor should use the following user defined parameters:
Apprentice · Mon Mar 25, 2024 10:36 am
Task 39 https://fxcodebase.com/code/viewtopic.php?f=38&t=74726