OpenAI - ChatGPT

Phylo

Experienced member
Messages
1,895
Likes
275
AI ChatGPT 3

This may or may not be useful in assist with coding as well as non-coding endeavours.

Note:
All media included in this post clearly state AI bots will not be replacing developers any time soon.
Any beef with Elon - take it up with Elon. :)



  • MQL4 / MQL5 are not mainstream languages in the scope of global programming language priorities - https://bootcamp.berkeley.edu/blog/m...ing-languages/.
  • Considering that MQL4 is a setting sun, any MQL4 / MQL5 coding functionality is an impressive bonus rather than a given gimme, gimme expectation.
  • The same applies to C++ code optimised for Sierra Chart: (Sierra Chart - see internet)
I tested ChatGPT ability to code basic MQL4 which - eventually - provided error free working code.
I had to request a number of correction to the supplied code and after a minor intervention had working code.
See second video for more insight regards these obstacles

It's not so smart with maths - I tried some basic calculus by giving it a quadratic and qubic equation and asking it to return the roots. It gave a decent explaination but returned all roots the same answer (?) which did not match any correct answer.

This was more successful
ChatGPT-Derivative.jpg
 
Last edited:
Thoughtful comment. I put ChatGPT to the test.

Copy and paste:

Me:
what'S CHATGPT consensus regarding the following statement, "I think AI will be the next digital divide, after PC and smartphone ".

ChatGPT:
I'm sorry, but I am not able to browse the internet or access information about current consensus or opinions on specific topics. However, I can tell you that the idea that artificial intelligence (AI) could potentially create a "digital divide" similar to the one created by personal computers (PCs) and smartphones is a topic that has been discussed by experts and industry leaders in the field of AI and technology. Some people believe that access to AI technology and resources could become a factor in determining who has the opportunity to take advantage of its benefits, while others believe that AI has the potential to be a democratizing force, making certain capabilities and opportunities more widely available. Ultimately, the impact of AI on society and the extent to which it may create a digital divide will depend on a variety of factors, including how it is developed and used, and the policies and practices that are put in place to govern its deployment.

Me:
explain in more technical terms

ChatGPT:
Sure, here is a more technical explanation of the concept of a "digital divide" as it relates to artificial intelligence:

A digital divide refers to the gap between individuals, households, or other groups that have access to digital technologies and those that do not. This divide can be driven by a variety of factors, including economic status, geographic location, age, education level, and other socio-demographic characteristics.

In the context of artificial intelligence, the idea of a digital divide might refer to the fact that access to AI resources and technologies is not equally distributed among individuals or organizations. For example, some people or companies might have access to advanced AI systems and data sets that allow them to build and deploy powerful machine learning models, while others might not have the same level of access or expertise. This could lead to a situation in which some people or organizations are able to take advantage of the benefits of AI, such as increased efficiency and productivity, while others are not.

There are a number of ways in which this divide might manifest itself. For example, if only certain groups or organizations have access to AI technologies, it could lead to a situation in which these groups have a competitive advantage over others. This could potentially create or exacerbate existing inequalities in society. On the other hand, if AI is widely available and easy to use, it could potentially be a democratizing force, making certain capabilities and opportunities more widely available to a larger number of people.

Ultimately, the extent to which AI creates a digital divide will depend on a variety of factors, including how it is developed and used, and the policies and practices that are put in place to govern its deployment.

Me:
what about a post graduate level of understanding

ChatGPT:
Certainly. Here is a more in-depth explanation of the concept of a "digital divide" as it relates to artificial intelligence at a postgraduate level:

A digital divide refers to the gap between individuals, households, or other groups that have access to digital technologies and those that do not. This divide can be driven by a variety of factors, including economic status, geographic location, age, education level, and other socio-demographic characteristics.

In the context of artificial intelligence, the idea of a digital divide might refer to the fact that access to AI resources and technologies is not equally distributed among individuals or organizations. This can include factors such as access to advanced hardware and software, data sets for training machine learning models, and expertise in the development and deployment of AI systems.

Inequalities in access to AI resources and technologies could have a number of implications for society. For example, if only certain groups or organizations have access to advanced AI systems and data sets, it could lead to a situation in which these groups have a competitive advantage over others in terms of efficiency, productivity, and other areas. This could potentially create or exacerbate existing inequalities in society.

On the other hand, if AI is widely available and easy to use, it could potentially be a democratizing force, making certain capabilities and opportunities more widely available to a larger number of people. For example, AI could be used to automate certain tasks or processes, making them more accessible and affordable for a wider range of individuals and organizations.

Ultimately, the extent to which AI creates a digital divide will depend on a variety of factors, including how it is developed and used, and the policies and practices that are put in place to govern its deployment. These might include issues such as ownership and control of data, the transparency and accountability of AI systems, and the social and economic impacts of AI on different groups in society.
 
Sorry I missed it! :D
Yes I am trying it, not to generate or manage code but with text operations, translations and some physics problems.
Impressive, sometimes it is wrong but always gives convincing answers.
It always tries to please you and to give you a useful text.
 
Last edited:
It gave a decent explaination but returned all roots the same answer (?) which did not match any correct answer.
I have experienced the same.
It gives you the right way to solve a problem but often fails to give the correct result.
It is more a lawyer than a matematician, it has been designed to chat, not to solve scientific problems.
 
It will not replace developers, it is like a clerk and a consultant.
If you are a dev now you can be a dev with the help of a team of interns.
If you are a specialist, chatgpt knows 90% of what you know in your field, it is a jack of all trades.
It knows every language and every programming language.
The accuracy of answers is also 90% so it needs supervision and correction to acheive professional quality.
 
It will not replace developers, it is like a clerk and a consultant.
If you are a dev now you can be a dev with the help of a team of interns.
If you are a specialist, chatgpt knows 90% of what you know in your field, it is a jack of all trades.
It knows every language and every programming language.
The accuracy of answers is also 90% so it needs supervision and correction to acheive professional quality.
Yes.
My brief test and conclusion.

I tested ChatGPT ability to code basic MQL4 which - eventually - provided error free working code.
I had to request a number of correction to the supplied code and after a minor intervention had working code.
Its also obsessed with buffers.

A few screenshots below illustrates (just realized I did not capture the revised code - only the beginning of the code)
Note that I am spelling out the code nomenclature to be fixed or amended.

This is very short code of a few line and it would have been quicker to code without ChatGPT. It may prove more useful on code over a thousand lines. But, as below, MQL4 / 5 are not mainstream languages so its a bonus.
  • MQL4 / MQL5 are not mainstream languages in the scope of global programming language priorities - https://bootcamp.berkeley.edu/blog/m...ing-languages/.
  • Considering that MQL4 is a setting sun, any MQL4 / MQL5 coding functionality is an impressive bonus rather than a given gimme, gimme expectation.
  • The same applies to C# optimized for cTrader and C++ optimized for Sierra Chart: (Sierra Chart - see internet).
ChatGPT-1.png
ChatGPT-2.png
ChatGPT-3.png
ChatGPT-4.png
 
Last edited:
Tick Value
  • The Tick Value Issue
  • Attached Indicators and action if you broker is on the Dark Side.
Could not find a suitable thread in the coding or other section so dumping here.
The title of the post will be found in a search for anyone looking to get to grips with this issue.

It also avoids a barrage of private coding requests.
No free coding is on offer - no commissioned coding is ever on offer - PM coding requests will be ignored/deleted.
I do not have time and this type of question after question while entertaining is time consuming - https://www.forexfactory.com/thread/968501-partial-close-script
No free code source files are available as these are being packaged and sold on MetaQuotes Market.

MT4 and MQL4 is a setting sun however, for what its worth, here are the links to the posts.
I have my reservations about traders/investors writing any accurate detailed risk management code otherwise the Tick Value issue under discussion would not be the unknown it is .
However, when researching I've been extremely grateful to that poster who posted on a remote vexing issue.

The posts speak for themselves and further discusision is not required - nor do I have time. Research further and wider where the posts do not suffice. See discussions at MetaQuotes Code Base.

These posts address Tick Value discrepancies on broker platforms offered - at the time - by FTMO.
Though these brokers are no longer contracted to FTMO the issue is common to any broker hosting MT4.
The broker either has it right - or - the broker has it wrong.

FTMO reply
  • Hi Phylo,
  • Please be aware that the tick value is measured in the margin currency.
  • You can see in the specification of the DAX.lmax_m that the Margin currency is EUR.
  • The tick value is correctly specified as 1 since 1 tick movement results in 1 EUR P/L.
  • Should you have any more concerns, feel free to contact us at [email protected] where we can provide an answer for you in a more timely manner.
  • FTMO post of the above: https://www.forexfactory.com/thread/post/13043915#post13043915
Addressing FTMO reply
  • Post Part 1 is rather high horse - a number of previous omitted posts addressing the issue had bought us to this point. Exasperating!
  • FTMO, though highly professional - in this instance, off the mark. I'm merely maintaining the high standard.(my protection from litigation 😇)
  • These comments are in no way an assessment on the integrity of FTMO.
  • Charts and calculations are presented to indicate the fallacy of the FTMO's understanding and MT4 Tick Value discrepancies applicable to the respective brokers.
  • These brokers are no longer contracted with FTMO and the Tick Value issue will apply to any broker providing the MT4 platform.
  • To reiterate: The broker either has it right - or - the broker has it wrong. (not absolutely true because if the technical department has rounding errors the Tick Value will be almost but not quite correct and therefor deteriate the accuracy of calculations similarly. My experience is rounding errors usually fall away if the code calculation decimal numbers are all a least 5 digits)
1. Please be aware that the tick value is measured in the margin currency.
A1. No it it is not.
a) It is delineated and defined in margin currency and
b) it is 'measured' in deposit currency. (and this - sir - may seem semantics - but is the premise of your (and any advisor's) misunderstanding - you appear not to understand that tick value is 'measured' in deposit currency - not margin currency)

2. You can see in the specification of the DAX.lmax_m that the Margin currency is EUR.
B2. I am absolutely aware that DAX.lamax margin is delineated in EUR.

3. The tick value is correctly specified as 1 since 1 tick movement results in 1 EUR P/L.
A3. No the tick value is not correct. For while it is delineated as 1 EUR it has not been translated into the deposit currency which, in this case (my example) , is ....... USD ......as clearly stated.
If the deposit currency is in GBP the EUR delineated tick value requires translation into GBP. If the deposit currency, in this case (this example) of DAX30, is EUR the tick value is already translated to deposit currency and is FIXED at 1 (parity exchange rate). Edit comment: Actually - 'permanently' at parity because there is no exchange rate.

etc.,

Post Part 1 - charts and calculations: https://www.forexfactory.com/thread/post/13046957#post13046957
Post Part 2 - charts and calculations: https://www.forexfactory.com/thread/post/13046980#post13046980

If this was missed - it should be taken into consideration: - https://www.forexfactory.com/thread/post/8896625#post8896625

Attached Indicators and action if you broker is on the Dark Side.
  1. Attached indicators to assist determining if broker Tick Value and Required Margin applicable to code is correct >> Lots x Points* x Tick Value = $amount. *Not pips - MQL4 calculates in points and is the most efficient way to calculate, especially for more complex calculations.
  2. Required Margin is another issue topic which I have not previously posted on - have a look here for starters - https://www.mql5.com/en/forum/267503.
  3. Testing on Demo of Live account makes for faster and more efficient comparisons against trade data - provided the demo is accurate data reflection of the live account.
  4. Note: The indicators do not indicate if the TV and RM are correct or incorrect - the indicators merely displays the chart TV and RM value which may or may not be correct.
  5. The user should know when exchange rate is floating or fixed at 1 (permanent parity - e.g. USD-USD) and be able to perform the required TV & TM calculations for comparison against trade data.
  6. What to do if your broker is on the dark side. Refer them this post.
  7. If your broker tells you it is a MetaQuotes-MetaTrader fault they are BSing you.
  8. The illustrated charts and calculations clearly prove that some brokers have got their technical act together and others slackers have not got their technical act together.
  9. If your broker is spinning yarns they are either slackers or cannot afford a competent technical team.
Z-1.png
 

Attachments

  • # - TV_Calc_Test.ex4
    10.2 KB · Views: 25
  • # - Margin.ex4
    9 KB · Views: 28
Last edited:
Comment: possible sensationalism - time will tell

‘AI will take 20% of all jobs within five YEARS’: Experts explain how bots like ChatGPT will dominate the labor market
  • AI-powered chatbots like ChatGPT are starting a new era of technology
  • It can write poems, take exams and is even set to defend a human in court
  • While life-changing, some fear this AI and others will take over the job market
  • Experts told DailyMail.com that ChatGPT could replace 20% of the workforce
 
Rabbi uses chatbot to deliver sermon to shocked congregation in New York: Warns artificial intelligence will wipe out 375 MILLION jobs in a decade
  • Rabbi Josh Franklin leads the Jewish Center of the Hamptons, in East Hampton
  • On January 1 he uploaded video of a recent sermon, which was written by A.I.
  • The congregation could not guess it was written by a computer
 
Top