JsonParserByLeo/Test/Ben/Qwen3.7Max.mq5
2026-06-28 21:34:54 -05:00

38 行
1.4 KiB
MQL5

//+------------------------------------------------------------------+
//| 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.7Max.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["statuses"].Count());
/* ulong a = GetMicrosecondCount();
for(int i = 0; i < 1000; i++)
{
json.Parse();
}
ulong b = GetMicrosecondCount() - a;
Print("Time: ", b);*/
}
//+------------------------------------------------------------------+