• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

New EA CyNera MT4 4.31 (no dll)

Here's a small update to the custom rules for Fiddler. This version is more generic and designed to work with the next version of Cynera:

//Cynera 4.xx
if ( oSession.oRequest["openai-organization"] === "org-NuRdGlqfwjzKchAXzaZNcOze" )
{
oSession.oRequest["Authorization"] = "Bearer sk-ReplaceWithYourOwnKey";
oSession.oRequest["openai-organization"] = "org-ReplaceWithYourOwnOrg";
}

It works like a charm, thank you
 
if (oSession.host.toLowerCase() == "api.openai.com") {
// Ganti Authorization header dengan API key baru
oSession.oRequest["Authorization"] = "Bearer sk-YOUR-NEW-API-KEY-HERE";

// Ganti organization ID
oSession.oRequest["openai-organization"] = "org-YOUR-NEW-ORG-ID";
}

I used this code in fiddler classic and it worked. make sure you top up your Api Key balance
Good point, this rule is even more generic.
 
With auto-replies disabled and customization rules enabled, AI analytics will now run more frequently.
 
Hello i already install Fiddler and complete setting up but i think i stuck with Fiddler script some one please shared the full script for me?

Thank you
Place your code here inside that bloc :
static function OnBeforeRequest(oSession: Session) {
// Sample Rule: Color ASPX requests in RED
// if (oSession.uriContains(".aspx")) { oSession["ui-color"] = "red"; }
// Sample Rule: Flag POSTs to fiddler2.com in italics
// if (oSession.HostnameIs("www.fiddler2.com") && oSession.HTTPMethodIs("POST")) { oSession["ui-italic"] = "yup"; }
// Sample Rule: Break requests for URLs containing "/sandbox/"
// if (oSession.uriContains("/sandbox/")) {
// oSession.oFlags["x-breakrequest"] = "yup"; // Existence of the x-breakrequest flag creates a breakpoint; the "yup" value is unimportant.
// }
//CYnera 4.50 Code ------>
if (
oSession.oRequest["openai-organization"] === "org-NuRdGlqfwjzKchAXzaZNcOze"
) { .....
 
Place your code here inside that bloc :
static function OnBeforeRequest(oSession: Session) {
// Sample Rule: Color ASPX requests in RED
// if (oSession.uriContains(".aspx")) { oSession["ui-color"] = "red"; }
// Sample Rule: Flag POSTs to fiddler2.com in italics
// if (oSession.HostnameIs("www.fiddler2.com") && oSession.HTTPMethodIs("POST")) { oSession["ui-italic"] = "yup"; }
// Sample Rule: Break requests for URLs containing "/sandbox/"
// if (oSession.uriContains("/sandbox/")) {
// oSession.oFlags["x-breakrequest"] = "yup"; // Existence of the x-breakrequest flag creates a breakpoint; the "yup" value is unimportant.
// }
//CYnera 4.50 Code ------>
if (
oSession.oRequest["openai-organization"] === "org-NuRdGlqfwjzKchAXzaZNcOze"
) { .....
where i shuod add this please
 
If SL is reached, it will lose 8 winning trades.
So, I am considering lowering my risk level by another level.
I'll try my best to find a good setting too.:)
thank you for reply ,what i see going to the SL is that normally when it opens a trade is hitting TP quickly and rarely going to DD therefore going to hit SL which is a lot of pips and many winning trades trashed. So in my opinion is better to reduce the SL i will try it for myself and btw i have tested the EA with the settings u gave me for 1 year with 1000 dollars 1:30 lv
 

Attachments

  • forum member strategy.gif
    forum member strategy.gif
    8.6 KB · Views: 139
Place your code here inside that bloc :
static function OnBeforeRequest(oSession: Session) {
// Sample Rule: Color ASPX requests in RED
// if (oSession.uriContains(".aspx")) { oSession["ui-color"] = "red"; }
// Sample Rule: Flag POSTs to fiddler2.com in italics
// if (oSession.HostnameIs("www.fiddler2.com") && oSession.HTTPMethodIs("POST")) { oSession["ui-italic"] = "yup"; }
// Sample Rule: Break requests for URLs containing "/sandbox/"
// if (oSession.uriContains("/sandbox/")) {
// oSession.oFlags["x-breakrequest"] = "yup"; // Existence of the x-breakrequest flag creates a breakpoint; the "yup" value is unimportant.
// }
//CYnera 4.50 Code ------>
if (
oSession.oRequest["openai-organization"] === "org-NuRdGlqfwjzKchAXzaZNcOze"
) { .....

Thank you brother i will try, Now i just use version 4.00 with XM broker any one got order Sell here ?
 
My API has a buy signal. Why does he open sell here, precision 5 & 6
Screenshot_20241225-101707.jpg
interesting, this really works well
 

Attachments

  • Screenshot_20241225-101707.jpg
    Screenshot_20241225-101707.jpg
    152.4 KB · Views: 369
Last edited:
Issues with ai function use 4.0 or later version..even after disabling ai still ea make decisions based on it.
 
Is it possible to run the proxy all the time? Does it interfere with other ai bot such as ai gen xii for instance?
Yes, you need to run the proxy all the time because if a request to OpenAI fails, Cynera will stop working. The interesting part is that AI GEN XII uses the same orgID as Cynera, which likely means they are developed by the same group. If they both use the same orgID and you have configured the proxy correctly, the requests from both bots will be redirected to your account.
 
Yes, you need to run the proxy all the time because if a request to OpenAI fails, Cynera will stop working. The interesting part is that AI GEN XII uses the same orgID as Cynera, which likely means they are developed by the same group. If they both use the same orgID and you have configured the proxy correctly, the requests from both bots will be redirected to your account.
That's an interesting discovery.
I hope it doesn't cause a big drawdown like AI GEN XII.
 
Yes, you need to run the proxy all the time because if a request to OpenAI fails, Cynera will stop working. The interesting part is that AI GEN XII uses the same orgID as Cynera, which likely means they are developed by the same group. If they both use the same orgID and you have configured the proxy correctly, the requests from both bots will be redirected to your account.
Wow interesting, thanks for your observation, increases our alertness, and more skeptical :ok:
 
If I set the proxy server mt4, I will not be able to connect. If I don't set it, I can connect. If I don't set it, will it affect the function? And what did I do wrong?
 
Back
Top