If we're going to treat the Templars as the original algorithmic market makers, we need to digitize their cryptography. I fired up MetaEditor and wrote a conceptual MQL5 script that simulates the Chirograph mechanism.
Instead of using modern SHA-256 hashing (which is boring and invisible), I built a script that actually simulates the physical "jagged cut" through the parchment.
The Original Forex Clearing House: How the Knights Templar Invented Cross-Border Liquidity
Re: The Original Forex Clearing House: How the Knights Templar Invented Cross-Border Liquidity
Preserve your own money. Scale with the market's money. Exponential growth is the ultimate key.
Re: The Original Forex Clearing House: How the Knights Templar Invented Cross-Border Liquidity
In this MQL5 model:
The DepositNode (Paris) takes the transaction data and the secret CIROGRAPHUM password, merges them, and physically slices the string into alternating characters (the jagged cut).
The client gets top_half, the ledger gets bottom_half.
The ExecutionNode (Jerusalem) stitches them back together. If the jagged edges interlock perfectly, the trade clears.
The DepositNode (Paris) takes the transaction data and the secret CIROGRAPHUM password, merges them, and physically slices the string into alternating characters (the jagged cut).
The client gets top_half, the ledger gets bottom_half.
The ExecutionNode (Jerusalem) stitches them back together. If the jagged edges interlock perfectly, the trade clears.
Preserve your own money. Scale with the market's money. Exponential growth is the ultimate key.
Re: The Original Forex Clearing House: How the Knights Templar Invented Cross-Border Liquidity
Here is the source code. Compile it and drop it on your EUR/USD chart to run the simulation.
Code: Select all
//+------------------------------------------------------------------+
//| TemplarChirograph.mq5 |
//| The 12th Century FIX Protocol |
//+------------------------------------------------------------------+
#property copyright "QuantMonk - Forex & Broadswords"
#property version "1.00"
#property script_show_inputs
// The holy string written across the gap before the cut
input string PARCHMENT_SEAL = "CIROGRAPHUM_MMXXVI";
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
Print("--- INITIATING TEMPLAR CROSS-BORDER LIQUIDITY TRANSFER ---");
// 1. The Trade Order (Deposit in Paris)
string deposit_data = "CLIENT:Hugues_de_Payens|DEPOSIT:1000_SILVER_MARKS|DEST:JERUSALEM";
// 2. The Cryptography (Cutting the Parchment)
string top_half, bottom_half;
CreateChirograph(deposit_data, top_half, bottom_half);
Print("[PARIS PRECEPTORY] Chirograph Generated.");
Print("-> Handed to Client (Top Half): ", top_half);
Print("-> Stored in Distributed Ledger (Bottom Half): ", bottom_half);
Print("... Waiting 6 Months for Latency (Client traveling on horseback) ...");
// 3. The Execution (Withdrawal in Jerusalem)
Print("--- ARRIVED AT JERUSALEM PRECEPTORY ---");
// Simulating an attempted withdrawal
bool is_cleared = VerifyAndClear(top_half, bottom_half, deposit_data);
if(is_cleared)
{
Print("[EXECUTION] Chirograph perfectly matched. Edges align.");
Print("[LIQUIDITY] Dispensing 1,000 Gold Dinars (Minus 15% Templar Spread). Trade closed.");
}
else
{
Print("[ALERT] Forgery detected. Parchment mismatch.");
Print("[MARGIN CALL] Dispatching heavily armed monks to client's location.");
}
}
//+------------------------------------------------------------------+
//| Creates the jagged cut through the data |
//+------------------------------------------------------------------+
void CreateChirograph(string data, string &top, string &bottom)
{
// Fuse transaction details with the master seal
string full_parchment = data + "|" + PARCHMENT_SEAL;
top = "";
bottom = "";
// The "Jagged Cut" - Splitting the parchment into alternating characters
// This guarantees neither string is readable or valid on its own
for(int i = 0; i < StringLen(full_parchment); i++)
{
if(i % 2 == 0)
top += StringSubstr(full_parchment, i, 1);
else
bottom += StringSubstr(full_parchment, i, 1);
}
}
//+------------------------------------------------------------------+
//| Interlocks the two halves to verify authenticity |
//+------------------------------------------------------------------+
bool VerifyAndClear(string client_top, string ledger_bottom, string original_data)
{
string reconstructed = "";
int max_len = MathMax(StringLen(client_top), StringLen(ledger_bottom));
// Stitching the jagged cut back together like a zipper
for(int i = 0; i < max_len; i++)
{
if(i < StringLen(client_top)) reconstructed += StringSubstr(client_top, i, 1);
if(i < StringLen(ledger_bottom)) reconstructed += StringSubstr(ledger_bottom, i, 1);
}
string expected_parchment = original_data + "|" + PARCHMENT_SEAL;
// Check if the stitched parchment matches the original requirement
return (reconstructed == expected_parchment);
}
//+------------------------------------------------------------------+Preserve your own money. Scale with the market's money. Exponential growth is the ultimate key.
Re: The Original Forex Clearing House: How the Knights Templar Invented Cross-Border Liquidity
Terminal Output when you run it:
Code: Select all
--- INITIATING TEMPLAR CROSS-BORDER LIQUIDITY TRANSFER ---
[PARIS PRECEPTORY] Chirograph Generated.
-> Handed to Client (Top Half): CIE:uge_ePyn|EOT10_IVE_AK|ETJRSUE|IORAQUMMXI
-> Stored in Distributed Ledger (Bottom Half): LNTugs_a|DPSI:00SLERMRSDSTEAUM|CRGPH_MXV
... Waiting 6 Months for Latency (Client traveling on horseback) ...
--- ARRIVED AT JERUSALEM PRECEPTORY ---
[EXECUTION] Chirograph perfectly matched. Edges align.
[LIQUIDITY] Dispensing 1,000 Gold Dinars (Minus 15% Templar Spread). Trade closed.Preserve your own money. Scale with the market's money. Exponential growth is the ultimate key.