1. 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 :)
    Dismiss Notice

New EA CyNera MT4 4.31 (no dll)

Discussion in 'Expert Advisor atau Robot Forex' started by Onodi Zsolt, 28 Nov 2024.

  1. dimugo

    dimugo New Member Credit Hunter

    Equity
    Credit
    Ref Point
    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";
    }
     
  2. yohmi

    yohmi Member Credit Hunter

    Equity
    Credit
    Ref Point
    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.
     
  3. dimugo

    dimugo New Member Credit Hunter

    Equity
    Credit
    Ref Point
    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.
     
  4. ds eaji

    ds eaji New Member

    Equity
    Credit
    Ref Point

    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
     
  5. yohmi

    yohmi Member Credit Hunter

    Equity
    Credit
    Ref Point
    I would like to know how to fix this error

    p.s. solved
     

    Attached Files:

    Last edited: 23 Dec 2024 at 21:52
    • Bad Spelling Bad Spelling x 1
  6. GoofyDoggy2

    GoofyDoggy2 New Member

    Equity
    Credit
    Ref Point
    Which free external News Filter tool is highly recommended?
     
  7. Pamper0

    Pamper0 New Member

    Equity
    Credit
    Ref Point
    It works like a charm, thank you
     
  8. dimugo

    dimugo New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Good point, this rule is even more generic.
     
  9. giobru

    giobru Member Credit Hunter

    Equity
    Credit
    Ref Point
    Please send more info about proxy setting
     
  10. yohmi

    yohmi Member Credit Hunter

    Equity
    Credit
    Ref Point
    With auto-replies disabled and customization rules enabled, AI analytics will now run more frequently.
     
  11. kanabut puangpaka

    kanabut puangpaka New Member

    Equity
    Credit
    Ref Point
    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
     
  12. dimugo

    dimugo New Member Credit Hunter

    Equity
    Credit
    Ref Point
    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"
    ) { .....
     
  13. karemkomy

    karemkomy New Member

    Equity
    Credit
    Ref Point
    where i shuod add this please
     
  14. dimugo

    dimugo New Member Credit Hunter

    Equity
    Credit
    Ref Point
    In Fiddler, type CTRL+R, you should be able to open the script editor.
     
  15. dimugo

    dimugo New Member Credit Hunter

    Equity
    Credit
    Ref Point
     

    Attached Files:

    • Winner Winner x 1
  16. zloster89

    zloster89 New Member

    Equity
    Credit
    Ref Point
    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
     

    Attached Files:

    • Like Like x 1
  17. toniblank

    toniblank Member Credit Hunter

    Equity
    Credit
    Ref Point
    U are hero for everyone,,thanks dimugo
     
  18. kanabut puangpaka

    kanabut puangpaka New Member

    Equity
    Credit
    Ref Point
    Thank you brother i will try, Now i just use version 4.00 with XM broker any one got order Sell here ?
     
  19. Soya sina

    Soya sina New Member

    Equity
    Credit
    Ref Point
    My API has a buy signal. Why does he open sell here, precision 5 & 6
    Screenshot_20241225-101707.jpg
    interesting, this really works well
     
    Last edited: 25 Dec 2024 at 10:25
  20. Soya sina

    Soya sina New Member

    Equity
    Credit
    Ref Point

Share This Page