2026-07-27 20:43:04 -05:00 | | | //+------------------------------------------------------------------+
|
| | | //| Qwen3.7Max.mq5 |
|
| | | //| Copyright 2026, Niquel Mendoza. |
|
| | | //| https://www.mql5.com/ |
|
| | | //+------------------------------------------------------------------+
|
| | | #property copyright "Copyright 2026, Niquel Mendoza."
|
| | | #property link "https://www.mql5.com/"
|
| | | #property version "1.00"
|
| | | #property strict
|
| | |
|
| | | //+------------------------------------------------------------------+
|
| | | //| |
|
| | | //+------------------------------------------------------------------+
|
| | | #include "..\\Other\\Qwen3.8Max.mqh"
|
2026-10-18 17:51:52 -05:00 | | | #resource "twitter.json" as const uchar g_json_data[]
|
2026-07-27 20:43:04 -05:00 | | | // Nota del modelo en su mqh
|
| | |
|
| | | //+------------------------------------------------------------------+
|
| | | //| Script program start function |
|
| | | //+------------------------------------------------------------------+
|
| | | void OnStart()
|
| | | {
|
| | | //---
|
| | | CJson json;
|
2026-10-18 17:51:52 -05:00 | | | ArrayCopy(json.Buffer, g_json_data, 0, 0);
|
2026-07-27 20:43:04 -05:00 | | |
|
| | | Print(json.Parse());
|
| | | Print("JSON error: ", json.GetErrorMessage(),
|
| | | " pos=", json.GetErrorPosition(),
|
| | | " line=", json.GetLine(),
|
| | | " col=", json.GetColumn());
|
| | |
|
| | | // JsonRef ref = json["statuses"];
|
| | |
|
| | | //Print(.Size());
|
| | |
|
| | | /* ulong a = GetMicrosecondCount();
|
| | | for(int i = 0; i < 1000; i++)
|
| | | {
|
| | | json.Parse();
|
| | | }
|
| | | ulong b = GetMicrosecondCount() - a;
|
| | | Print("Time: ", b);*/
|
| | | }
|
| | | //+------------------------------------------------------------------+
|