• 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 :)
General chit-chat
Help Users
  • No one is chatting at the moment.

      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";
      }
       
      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";
      }
      I am using auto responder, but is there any difference between this and setting it with rules?
      I would like to change the settings if it would improve the speed of AI analysis.
       
      I am using auto responder, but is there any difference between this and setting it with rules?
      I would like to change the settings if it would improve the speed of AI analysis.
      AutoResponder in Fiddler does not send the request to OpenAI. It intercepts the request and provides a preconfigured response locally, bypassing the original server entirely. Custom Rules modify the request and still send it to the openAI server.
       
      AutoResponder in Fiddler does not send the request to OpenAI. It intercepts the request and provides a preconfigured response locally, bypassing the original server entirely. Custom Rules modify the request and still send it to the openAI server.


      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
       
      AutoResponder in Fiddler does not send the request to OpenAI. It intercepts the request and provides a preconfigured response locally, bypassing the original server entirely. Custom Rules modify the request and still send it to the openAI server.
      I would like to know how to fix this error

      p.s. solved
       

      Attachments

      • Screenshot_2024-12-23-23-00-04-85_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
        Screenshot_2024-12-23-23-00-04-85_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
        108.2 KB · Views: 152
      Last edited:
      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: 122
      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: 320
      Last edited:
      Back
      Top