I succeded to change my parameter value during the render command selector. My only problem is that as the effect parameter change, it cancels the cache each time it s computed.
A_Time currentCompTime;
AEGP_EffectRefH gper = NULL;
AEGP_StreamValue value;
AEFX_CLR_STRUCT(value);
AEGP_StreamValue currentvalue;
//layer info
AEGP_LayerH currentLayer;
A_Time layerInpoint;
A_Time layerDuration;
suites.PFInterfaceSuite1()->AEGP_ConvertEffectToCompTime(in_data->effect_ref,
in_data->current_time,
in_data->time_scale,
¤tCompTime);
suites.PFInterfaceSuite1()->AEGP_GetEffectLayer(in_data->effect_ref, ¤tLayer);
suites.LayerSuite5()->AEGP_GetLayerInPoint(currentLayer, AEGP_LTimeMode_CompTime, &layerInpoint);
suites.LayerSuite5()->AEGP_GetLayerDuration(currentLayer, AEGP_LTimeMode_CompTime, &layerDuration);
suites.PFInterfaceSuite1()->AEGP_GetNewEffectForEffect(gpid, in_data->effect_ref, &gper );//get effect reference
suites.StreamSuite1()->AEGP_GetNewEffectStreamByIndex(gpid, gper, AlphaFollow_OUTPUT_POINT, &value.streamH);
suites.StreamSuite2()->AEGP_GetNewStreamValue(gpid, value.streamH, AEGP_LTimeMode_CompTime, ¤tCompTime, false, ¤tvalue);
...
suites.StreamSuite1()->AEGP_SetStreamValue(gpid, value.streamH, &value );
suites.StreamSuite1()->AEGP_DisposeStreamValue(¤tvalue);
suites.EffectSuite3()->AEGP_DisposeEffect(gper);