| //+------------------------------------------------------------------+
|
| //| 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"
|
| #resource "twitter.json" as const string g_json_data
|
| // Nota del modelo en su mqh
|
|
|
| //+------------------------------------------------------------------+
|
| //| Script program start function |
|
| //+------------------------------------------------------------------+
|
| void OnStart()
|
| {
|
| //---
|
| CJson json;
|
| StringToCharArray(g_json_data, json.Buffer, 0, StringLen(g_json_data));
|
|
|
| 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);*/
|
| }
|
| //+------------------------------------------------------------------+
|